Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Make it compatible to be used with BoM #409

Open
8 tasks done
mlostekk opened this issue Jul 21, 2023 · 0 comments
Open
8 tasks done

feat: Make it compatible to be used with BoM #409

mlostekk opened this issue Jul 21, 2023 · 0 comments

Comments

@mlostekk
Copy link

Plugin(s)

  • Analytics
  • App
  • App Check
  • Authentication
  • Crashlytics
  • Cloud Messaging
  • Performance
  • Remote Config

Current problem

Right now, the plugin uses explicit versions for separate Firebase products. But the preferred solution to include Firebase to android is using the BoM method as specified in

https://firebase.google.com/docs/crashlytics/get-started?platform=android

aka

dependencies {
    // Import the BoM for the Firebase platform
    implementation(platform("com.google.firebase:firebase-bom:32.2.0"))

    // Add the dependencies for the Crashlytics and Analytics libraries
    // When using the BoM, you don't specify versions in Firebase library dependencies
    implementation("com.google.firebase:firebase-crashlytics")
    implementation("com.google.firebase:firebase-analytics")
}

Preferred solution

Offer a variable like $firebaseBomVersion in variables.gradle, if that variable is existing use the BOM approach.

Alternative options

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants