कुछ Firebase Android SDK Google Play सेवाओं पर निर्भर करते हैं. इसका मतलब है कि वे सिर्फ़ उन डिवाइस और एम्युलेटर पर चलेंगे जिन पर Google Play सेवाएं इंस्टॉल हैं. ये Firebase SDK टूल आपके ऐप्लिकेशन को सुरक्षित, अप-टू-डेट, और लाइटवेट एपीआई उपलब्ध कराने के लिए, डिवाइस पर Google Play services की बैकग्राउंड सेवा के साथ काम करते हैं. कुछ Android डिवाइसों, जैसे कि Amazon Kindle Fire डिवाइस या कुछ इलाकों में बेचे जाने वाले डिवाइसों में Google Play services इंस्टॉल नहीं होती.
किन Firebase Android SDK टूल के लिए Google Play services की ज़रूरत है?
Firebase SDK टूल को तीन कैटगरी में बांटा जा सकता है:
- Play सेवाएं ज़रूरी हैं — इन SDK टूल के लिए Google Play services की ज़रूरत होती है, वरना इनमें कोई फ़ंक्शन नहीं होता.
- Play services का सुझाव दिया जाता है — इन SDK टूल का इस्तेमाल करने के लिए ज़रूरी है कि Google Play services में सभी सुविधाएं हों. हालांकि, ये Google Play services के बिना भी सबसे काम की सुविधाएं देते हैं.
- Play सेवाएं ज़रूरी नहीं हैं — इन SDK टूल के लिए ज़रूरी नहीं है कि Google Play services पूरी तरह से काम करे.
नीचे दी गई टेबल सिर्फ़ हर SDK टूल की हाल ही में रिलीज़ किए गए वर्शन के लिए सटीक हैं. कुछ पुराने वर्शन के लिए, ज़्यादा सख्त शर्तें हो सकती हैं.
Google Play services की ज़रूरत नहीं है
प्रॉडक्ट | लाइब्रेरी | क्या आपको Google Play services की जानकारी चाहिए? |
---|---|---|
ऐप्लिकेशन की जांच के लिए, कस्टम और डीबग की सेवा देने वाली कंपनियां | com.google.firebase:firebase-appcheck:18.0.0 com.google.firebase:firebase-appcheck-ktx:18.0.0 com.google.firebase:firebase-appcheck-debug:18.0.0 |
ज़रूरी नहीं है |
App Distribution API | com.google.firebase:firebase-appdistribution-api:16.0.0-beta12 com.google.firebase:firebase-appdistribution-api-ktx:16.0.0-beta12) |
ज़रूरी नहीं है |
App Distribution | com.google.firebase:firebase-appdistribution:16.0.0-बीटा12 | ज़रूरी नहीं है |
पुष्टि करना | com.google.firebase:firebase-auth:23.0.0 com.google.firebase:firebase-auth-ktx:23.0.0 |
ज़रूरी नहीं है |
Cloud Firestore | com.google.firebase:firebase-firestore:25.0.0 com.google.firebase:firebase-firestore-ktx:25.0.0 |
ज़रूरी नहीं है |
Firebase क्लाइंट SDK के लिए Cloud Functions | com.google.firebase:firebase-Functions:21.0.0 com.google.firebase:firebase-Functions-ktx:21.0.0 |
ज़रूरी नहीं है |
Firebase के लिए Cloud Storage | com.google.firebase:firebase-storage:21.0.0 com.google.firebase:firebase-storage-ktx:21.0.0 |
ज़रूरी नहीं है |
Crashlytics | com.google.firebase:firebase-crashlytics:19.0.0 com.google.firebase:firebase-crashlytics-ktx:19.0.0 |
ज़रूरी नहीं है |
इन-ऐप्लिकेशन मैसेज | com.google.firebase:firebase-inapp Messaging:21.0.0 com.google.firebase:firebase-inapp Messaging-ktx:21.0.0 |
ज़रूरी नहीं है |
इन-ऐप्लिकेशन मैसेज का डिसप्ले | com.google.firebase:firebase-inapp Messaging-display:21.0.0 com.google.firebase:firebase-inapp Messaging-display-ktx:21.0.0 |
ज़रूरी नहीं है |
Firebase इंस्टॉलेशन | com.google.firebase:firebase-installations:18.0.0 com.google.firebase:firebase-installations-ktx:18.0.0 |
ज़रूरी नहीं है |
Performance Monitoring | com.google.firebase:firebase-perf:21.0.0 com.google.firebase:firebase-perf-ktx:21.0.0 |
ज़रूरी नहीं है |
Realtime Database | com.google.firebase:firebase-database:21.0.0 com.google.firebase:firebase-database-ktx:21.0.0 |
ज़रूरी नहीं है |
Remote Config | com.google.firebase:firebase-config:22.0.0 com.google.firebase:firebase-config-ktx:22.0.0 |
ज़रूरी नहीं है |
Vertex AI for Firebase | com.google.firebase:firebase-verexai:16.0.0-beta01 | ज़रूरी नहीं है |
Google Play services की जानकारी देना ज़रूरी है या इनका सुझाव दिया गया है
प्रॉडक्ट | लाइब्रेरी | क्या आपको Google Play services की जानकारी चाहिए? |
---|---|---|
AdMob | com.google.android.gms:play-services-ads:23.1.0 | सुझाया गया* |
Analytics | com.google.firebase:firebase-analytics:22.0.0 com.google.firebase:firebase-analytics-ktx:22.0.0 |
सुझाया गया* |
Play Integrity की सेवा देने वाली कंपनी की जांच | com.google.firebase:firebase-appcheck-playintegrity:18.0.0 | ज़रूरी है |
ऐप्लिकेशन की जांच SafetyNet की सेवा देने वाली कंपनी | com.google.firebase:firebase-appcheck-safetynet:16.1.2 | ज़रूरी है |
ऐप्लिकेशन सूची | com.google.firebase:firebase-appindexing:20.0.0 | ज़रूरी है |
Cloud Messaging | com.google.firebase:firebase- Messaging:24.0.0 com.google.firebase:firebase- Messaging-ktx:24.0.0 |
ज़रूरी है |
Dynamic Links | com.google.firebase:firebase-Dynamic-links:22.0.0 com.google.firebase:firebase-Dynamic-links-ktx:22.0.0 |
ज़रूरी है |
Firebase ML विज़न | com.google.firebase:firebase-ml-vision:24.1.0 | ज़रूरी है |
Firebase ML कस्टम मॉडल | com.google.firebase:firebase-ml-model-interpreter:22.0.4 | ज़रूरी है |
* Google Analytics के लिए Firebase SDK टूल किसी भी डिवाइस पर इवेंट भेज सकता है. हालांकि, अपने-आप तैयार होने वाली कुछ जानकारी, जैसे कि डेमोग्राफ़िक्स, सिर्फ़ Google Play services वाले डिवाइसों पर उपलब्ध हैं.