DEV Community

Orestis Pantazos
Orestis Pantazos

Posted on • Updated on

🔥 Firebase Android Release Notes

To review release notes for the Firebase console and for other Firebase platforms and related SDKs, refer to the Firebase Release Notes.

Learn how to install these SDKs in your app: Add Firebase to your Android Project.

Latest SDK versions

build.gradle

buildscript {

  repositories {
    // Check that you have the following line (if not, add it):
    google()  // Google's Maven repository
  }

  dependencies {
    // ...

    // Add the following line:
    classpath 'com.google.gms:google-services:4.3.3'  // Google Services plugin
  }
}

allprojects {
  // ...

  repositories {
    // Check that you have the following line (if not, add it):
    google()  // Google's Maven repository
    // ...
  }
}
Enter fullscreen mode Exit fullscreen mode

app/build.gradle

apply plugin: 'com.android.application'
// Add the following line:
apply plugin: 'com.google.gms.google-services'  // Google Services plugin

android {
  // ...
}
Enter fullscreen mode Exit fullscreen mode

app/build.gradle

Analytics enabled

dependencies {
  // ...

  // Add the Firebase SDK for Google Analytics
  implementation 'com.google.firebase:firebase-analytics:17.4.0'

  // Add the dependencies for any other Firebase products you want to use in your app
  // For example, to also use Firebase Authentication
  implementation 'com.google.firebase:firebase-auth:19.3.1'

  // Getting a "Could not find" error? Make sure that you've added
  // Google's Maven repository to your root-level build.gradle file
}
Enter fullscreen mode Exit fullscreen mode

Analytics not enabled

dependencies {
  // ...

  // Add the dependencies for the Firebase products you want to use in your app
  // For example, to use Firebase Authentication
  implementation 'com.google.firebase:firebase-auth:19.3.1'

  // Getting a "Could not find" error? Make sure that you've added
  // Google's Maven repository to your root-level build.gradle file
}
Enter fullscreen mode Exit fullscreen mode

Java Android

Service or Product

AdMob

com.google.android.gms:play-services-ads:19.1.0 
Enter fullscreen mode Exit fullscreen mode

Analytics

com.google.firebase:firebase-analytics:17.4.0
Enter fullscreen mode Exit fullscreen mode

App Indexing

com.google.firebase:firebase-appindexing:19.1.0
Enter fullscreen mode Exit fullscreen mode

Authentication

com.google.firebase:firebase-auth:19.3.1
Enter fullscreen mode Exit fullscreen mode

Cloud Firestore

com.google.firebase:firebase-firestore:21.4.3
Enter fullscreen mode Exit fullscreen mode

Cloud Functions for Firebase Client SDK

com.google.firebase:firebase-functions:19.0.2
Enter fullscreen mode Exit fullscreen mode

Cloud Messaging

com.google.firebase:firebase-messaging:20.1.6
Enter fullscreen mode Exit fullscreen mode

Cloud Storage

com.google.firebase:firebase-storage:19.1.1
Enter fullscreen mode Exit fullscreen mode

Crashlytics

com.crashlytics.sdk.android:crashlytics:2.10.1
Enter fullscreen mode Exit fullscreen mode

Alternatively, to use the Firebase Crashlytics SDK (beta):

com.google.firebase:firebase-crashlytics:17.0.0
Enter fullscreen mode Exit fullscreen mode

Dynamic Links

com.google.firebase:firebase-dynamic-links:19.1.0
Enter fullscreen mode Exit fullscreen mode

In-App Messaging

com.google.firebase:firebase-inappmessaging:19.0.6
Enter fullscreen mode Exit fullscreen mode

In-App Messaging Display

com.google.firebase:firebase-inappmessaging-display:19.0.6
Enter fullscreen mode Exit fullscreen mode

Performance Monitoring

com.google.firebase:firebase-perf:19.0.7
Enter fullscreen mode Exit fullscreen mode

Realtime Database

com.google.firebase:firebase-database:19.3.0
Enter fullscreen mode Exit fullscreen mode

Remote Config

com.google.firebase:firebase-config:19.1.4
Enter fullscreen mode Exit fullscreen mode

Firebase Bill of Materials (BoM)

com.google.firebase:firebase-bom:25.3.0
Enter fullscreen mode Exit fullscreen mode

The latest Firebase BoM version contains the latest versions of each Firebase Android library available at the BoM's release. For the library versions mapped to previous BoM versions, review the release notes for that version.

Google Play services plugin

com.google.gms:google-services:4.3.3
Enter fullscreen mode Exit fullscreen mode

Top comments (0)