Skip to content

Instantly share code, notes, and snippets.

@muralitharanaspritle
Created May 4, 2023 16:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save muralitharanaspritle/b2ab22b9721c8db7bbb984e678eaef62 to your computer and use it in GitHub Desktop.
Save muralitharanaspritle/b2ab22b9721c8db7bbb984e678eaef62 to your computer and use it in GitHub Desktop.
// top of the file
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
dependencies {
... // already some dependencies are here
// Import the Firebase BoM
implementation platform('com.google.firebase:firebase-bom:31.2.3')
// TODO: Add the dependencies for Firebase products you want to use
// When using the BoM, don't specify versions in Firebase dependencies
implementation 'com.google.firebase:firebase-analytics-ktx'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment