اعتماديات حِزم تطوير البرامج (SDK) لنظام التشغيل Android في Firebase على "خدمات Google Play"
تنظيم صفحاتك في مجموعات يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تعتمد بعض حِزم تطوير البرامج (SDK) لنظام التشغيل Android من Firebase على Google Play services، ما يعني أنّها لن تعمل إلا على الأجهزة والمحاكيات التي تم تثبيت Google Play services عليها. تتواصل حِزم تطوير البرامج (SDK) هذه من Firebase مع خدمة Google Play services التي تعمل في الخلفية على الجهاز لتوفير واجهة برمجة تطبيقات آمنة وحديثة وخفيفة الوزن لتطبيقك. ولا تتضمّن بعض أجهزة Android، مثل أجهزة Amazon Kindle Fire أو الأجهزة التي يتم بيعها في بعض المناطق، خدمة Google Play services مثبّتة.
ما هي حِزم Firebase Android SDK التي تتطلّب Google Play services؟
يمكن تقسيم حِزم تطوير البرامج (SDK) من Firebase إلى ثلاث فئات:
Play services مطلوبة: تتطلّب حِزم تطوير البرامج هذه Google Play services، وإلا لن تعمل.
Play services يُنصح به: تتطلّب حِزم SDK هذه توفّر Google Play services للاستفادة من جميع وظائفها، ولكنّها تتيح معظم وظائفها حتى بدون Google Play services.
Play services غير مطلوب: لا تتطلّب حِزم تطوير البرامج هذه توفّر Google Play services للاستفادة من جميع الوظائف.
لا تكون الجداول أدناه دقيقة إلا بالنسبة إلى أحدث إصدار من كل حزمة SDK. قد تتضمّن بعض الإصدارات القديمة متطلبات أكثر صرامة.
Google Play servicesغير مطلوب
المنتج
المكتبة
Google Play services؟
Firebase AI Logic1
com.google.firebase:firebase-ai:17.1.0
غير مطلوبة
App Check مقدّمو خدمات مخصّصون ومقدّمو خدمات تصحيح الأخطاء
2يمكن لحزمة تطوير البرامج (SDK) الخاصة بمنصة Firebase لخدمة "إحصاءات Google" إرسال الأحداث على أي جهاز، ولكن بعض الإحصاءات التلقائية، مثل المعلومات الديمغرافية، لا تتوفّر إلا على الأجهزة التي تعمل بنظام التشغيل Google Play services.
تاريخ التعديل الأخير: 2025-08-08 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2025-08-08 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["\u003cbr /\u003e\n\nSome Firebase Android SDKs depend on\n[Google Play services](//developers.google.com/android/guides/overview),\nwhich means they will only run on devices and emulators with Google Play services\ninstalled. These Firebase SDKs communicate with the Google Play services background\nservice on the device to provide a secure, up-to-date, and lightweight API to\nyour app. Certain Android devices, such as Amazon Kindle Fire devices or those\nsold in some regions, do not have Google Play services installed.\n| **Note:** The [`google-services` Gradle plugin](//developers.google.com/android/guides/google-services-plugin) is used by all Firebase SDKs, but this plugin is not related to Google Play services.\n\nWhich Firebase Android SDKs require Google Play services?\n\nFirebase SDKs can be divided into three categories:\n\n- **Play services required** --- These SDKs require Google Play services, otherwise they have no functionality.\n- **Play services recommended** --- These SDKs require Google Play services to have *full* functionality, but they still offer *most* functionality even without Google Play services.\n- **Play services not required** --- These SDKS do not require Google Play services to have full functionality.\n\nThe tables below are accurate only for the\n[latest release](/support/release-notes/android#latest_sdk_versions) of each\nSDK. Some older versions may have stricter requirements.\n\nGoogle Play services not required\n\n| Product | Library | Google Play services? |\n|-----------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------|\n| Firebase AI Logic ^1^ | com.google.firebase:firebase-ai:17.1.0 | Not Required |\n| App Check custom and debug providers | com.google.firebase:firebase-appcheck:19.0.0 com.google.firebase:firebase-appcheck-ktx:18.0.0 com.google.firebase:firebase-appcheck-debug:19.0.0 | Not Required |\n| App Distribution API | com.google.firebase:firebase-appdistribution-api:16.0.0-beta16 com.google.firebase:firebase-appdistribution-api-ktx:16.0.0-beta15 | Not Required |\n| App Distribution | com.google.firebase:firebase-appdistribution:16.0.0-beta16 | Not Required |\n| Authentication | com.google.firebase:firebase-auth:24.0.1 com.google.firebase:firebase-auth-ktx:23.2.1 | Not Required |\n| Cloud Firestore | com.google.firebase:firebase-firestore:26.0.0 com.google.firebase:firebase-firestore-ktx:25.1.4 | Not Required |\n| Cloud Functions for Firebase Client SDK | com.google.firebase:firebase-functions:22.0.0 com.google.firebase:firebase-functions-ktx:21.2.1 | Not Required |\n| Cloud Storage for Firebase | com.google.firebase:firebase-storage:22.0.0 com.google.firebase:firebase-storage-ktx:21.0.2 | Not Required |\n| Crashlytics | com.google.firebase:firebase-crashlytics:20.0.0 com.google.firebase:firebase-crashlytics-ktx:19.4.4 | Not Required |\n| Data Connect | com.google.firebase:firebase-dataconnect:17.0.0 | Not Required |\n| In-App Messaging | com.google.firebase:firebase-inappmessaging:22.0.0 com.google.firebase:firebase-inappmessaging-ktx:21.0.2 | Not Required |\n| In-App Messaging Display | com.google.firebase:firebase-inappmessaging-display:22.0.0 com.google.firebase:firebase-inappmessaging-display-ktx:21.0.2 | Not Required |\n| Firebase installations | com.google.firebase:firebase-installations:19.0.0 com.google.firebase:firebase-installations-ktx:18.0.0 | Not Required |\n| Performance Monitoring | com.google.firebase:firebase-perf:22.0.0 com.google.firebase:firebase-perf-ktx:21.0.5 | Not Required |\n| Realtime Database | com.google.firebase:firebase-database:22.0.0 com.google.firebase:firebase-database-ktx:21.0.0 | Not Required |\n| Remote Config | com.google.firebase:firebase-config:23.0.0 com.google.firebase:firebase-config-ktx:22.1.2 | Not Required |\n\n^**1** *Firebase AI Logic was formerly called\n\"Vertex AI in Firebase\" with the package\n`com.google.firebase:firebase-vertexai`.*^\n\nGoogle Play services required or recommended\n\n| Product | Library | Google Play services? |\n|-----------------------------------|---------------------------------------------------------------------------------------------------------|-----------------------|\n| AdMob | com.google.android.gms:play-services-ads:24.5.0 | Recommended ^2^ |\n| Analytics | com.google.firebase:firebase-analytics:23.0.0 com.google.firebase:firebase-analytics-ktx:22.5.0 | Recommended ^2^ |\n| App Check Play Integrity provider | com.google.firebase:firebase-appcheck-playintegrity:19.0.0 | Required |\n| App Check SafetyNet provider | com.google.firebase:firebase-appcheck-safetynet:16.1.2 | Required |\n| App Indexing | com.google.firebase:firebase-appindexing:20.0.0 | Required |\n| Cloud Messaging | com.google.firebase:firebase-messaging:25.0.0 com.google.firebase:firebase-messaging-ktx:24.1.2 | Required |\n| Dynamic Links | com.google.firebase:firebase-dynamic-links:22.1.0 com.google.firebase:firebase-dynamic-links-ktx:22.1.0 | Required |\n| Firebase ML Vision | com.google.firebase:firebase-ml-vision:24.1.0 | Required |\n| Firebase ML Custom Model | com.google.firebase:firebase-ml-model-interpreter:22.0.4 | Required |\n\n^**2** *The Firebase SDK for Google Analytics can send events on any\ndevice, but some automatic insights such as demographics are only available on\ndevices with Google Play services.*^"]]