Catch up on everthing we announced at this year's Firebase Summit. Learn more

Dependencies of Firebase Android SDKs on Google Play services

Some Firebase Android SDKs depend on Google Play services, which means they will only run on devices and emulators with Google Play services installed. These Firebase SDKs communicate with the Google Play services background service on the device to provide a secure, up-to-date, and lightweight API to your app. Certain Android devices, such as Amazon Kindle Fire devices or those sold in some regions, do not have Google Play services installed.

Which Firebase SDKs require Google Play services?

Firebase SDKs can be divided into three categories:

  • Play services required — These SDKs require Google Play services, otherwise they have no functionality.
  • Play services recommended — These SDKs require Google Play services to have full functionality, but they still offer most functionality even without Google Play services.
  • Play services not required — These SDKS do not require Google Play services to have full functionality.

The tables below are accurate only for the latest release of each SDK. Some older versions may have stricter requirements.

Google Play services not required

Product Library Google Play services?
App Check custom and debug providers com.google.firebase:firebase-appcheck:16.0.0-beta04
com.google.firebase:firebase-appcheck-debug:16.0.0-beta04
Not Required
Authentication com.google.firebase:firebase-auth:21.0.1
com.google.firebase:firebase-auth-ktx:21.0.1
Not Required
Cloud Firestore com.google.firebase:firebase-firestore:24.0.0
com.google.firebase:firebase-firestore-ktx:24.0.0
Not Required
Cloud Functions for Firebase Client SDK com.google.firebase:firebase-functions:20.0.1
com.google.firebase:firebase-functions-ktx:20.0.1
Not Required
Cloud Storage for Firebase com.google.firebase:firebase-storage:20.0.0
com.google.firebase:firebase-storage-ktx:20.0.0
Not Required
Crashlytics com.google.firebase:firebase-crashlytics:18.2.5
com.google.firebase:firebase-crashlytics-ktx:18.2.5
Not Required
In-App Messaging com.google.firebase:firebase-inappmessaging:20.1.1
com.google.firebase:firebase-inappmessaging-ktx:20.1.1
Not Required
In-App Messaging Display com.google.firebase:firebase-inappmessaging-display:20.1.1
com.google.firebase:firebase-inappmessaging-display-ktx:20.1.1
Not Required
Firebase installations com.google.firebase:firebase-installations:17.0.0
com.google.firebase:firebase-installations-ktx:17.0.0
Not Required
Performance Monitoring com.google.firebase:firebase-perf:20.0.4
com.google.firebase:firebase-perf-ktx:20.0.4
Not Required
Realtime Database com.google.firebase:firebase-database:20.0.3
com.google.firebase:firebase-database-ktx:20.0.3
Not Required
Remote Config com.google.firebase:firebase-config:21.0.1
com.google.firebase:firebase-config-ktx:21.0.1
Not Required
Product Library Google Play services?
AdMob com.google.android.gms:play-services-ads:20.5.0 Recommended*
Analytics com.google.firebase:firebase-analytics:20.0.0
com.google.firebase:firebase-analytics-ktx:20.0.0
Recommended*
App Check SafetyNet provider com.google.firebase:firebase-appcheck-safetynet:16.0.0-beta04 Required
App Indexing com.google.firebase:firebase-appindexing:20.0.0 Required
Cloud Messaging com.google.firebase:firebase-messaging:23.0.0
com.google.firebase:firebase-messaging-ktx:23.0.0
Required
Dynamic Links com.google.firebase:firebase-dynamic-links:21.0.0
com.google.firebase:firebase-dynamic-links-ktx:21.0.0
Required
Firebase ML Vision com.google.firebase:firebase-ml-vision:24.1.0 Required
Firebase ML Custom Model com.google.firebase:firebase-ml-model-interpreter:22.0.4 Required

* The Firebase SDK for Google Analytics can send events on any device, but some automatic insights such as demographics are only available on devices with Google Play services.