Check out what’s new from Firebase@ Google I/O 2021, and join our alpha program for early access to the new Remote Config personalization feature. 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?
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:23.0.1
com.google.firebase:firebase-firestore-ktx:23.0.1
Not Required
Cloud Functions for Firebase Client SDK com.google.firebase:firebase-functions:20.0.0
com.google.firebase:firebase-functions-ktx:20.0.0
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.0.1
com.google.firebase:firebase-crashlytics-ktx:18.0.1
Not Required
In-App Messaging com.google.firebase:firebase-inappmessaging:20.0.0
com.google.firebase:firebase-inappmessaging-ktx:20.0.0
Not Required
In-App Messaging Display com.google.firebase:firebase-inappmessaging-display:20.0.0
com.google.firebase:firebase-inappmessaging-display-ktx:20.0.0
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.1
com.google.firebase:firebase-perf-ktx:20.0.1
Not Required
Realtime Database com.google.firebase:firebase-database:20.0.0
com.google.firebase:firebase-database-ktx:20.0.0
Not Required
Remote Config com.google.firebase:firebase-config:21.0.0
com.google.firebase:firebase-config-ktx:21.0.0
Not Required
Product Library Google Play services?
AdMob com.google.android.gms:play-services-ads:20.2.0 Recommended*
Analytics com.google.firebase:firebase-analytics:19.0.0
com.google.firebase:firebase-analytics-ktx:19.0.0
Recommended*
App Indexing com.google.firebase:firebase-appindexing:20.0.0 Required
Cloud Messaging com.google.firebase:firebase-messaging:22.0.0
com.google.firebase:firebase-messaging-ktx:22.0.0
Required
Dynamic Links com.google.firebase:firebase-dynamic-links:20.1.0
com.google.firebase:firebase-dynamic-links-ktx:20.1.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.