Google is committed to advancing racial equity for Black communities. See how.

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

Library (Java and KTX) Google Play services?
com.google.firebase:firebase-auth:20.0.1 Not Required
com.google.firebase:firebase-firestore:22.0.0 Not Required
com.google.firebase:firebase-functions:19.1.0 Not Required
com.google.firebase:firebase-auth:20.0.1 Not Required
com.google.firebase:firebase-crashlytics:17.3.0 Not Required
com.google.firebase:firebase-inappmessaging:19.1.2 Not Required
com.google.firebase:firebase-inappmessaging-display:19.1.2 Not Required
com.google.firebase:firebase-installations:16.3.4 Not Required
com.google.firebase:firebase-database:19.5.1 Not Required
com.google.firebase:firebase-config:20.0.2 Not Required
Library (Java and KTX) Google Play services?
com.google.android.gms:play-services-ads:19.5.0 Required
com.google.firebase:firebase-analytics:18.0.0 Recommended*
com.google.firebase:firebase-appindexing:19.1.0 Required
com.google.firebase:firebase-messaging:21.0.0 Required
com.google.firebase:firebase-dynamic-links:19.1.1 Required
com.google.firebase:firebase-ml-vision:24.1.0 Required
com.google.firebase:firebase-ml-model-interpreter:22.0.4 Required
com.google.firebase:firebase-perf:19.0.10 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.