6

Currently using FlutterFire but am a bit confused with the installation documentation.

I have added Firestore and Authentication to my project in pubspec.yml and it works. However, I am currently working on implementing Firebase Cloud Messaging and am unsure how to install. All I did was install it in the pubspec.yml just like the other packages but it's not working.

I've been watching tutorials trying to find and answer, and I've found that many of them use this line in their android/app/build.gradle

dependencies {  
    // Import the BoM for the Firebase platform
    implementation platform('com.google.firebase:firebase-bom:28.3.0')
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}

When I read the documentation, it did not mention this line for implementation platform(com.google.firebase:firebase-bom:28.3.0') and I am unsure if I need this or if this is for a previous version of FlutterFire.

1
  • 1
    I have the same concern. Commented Sep 27, 2021 at 3:15

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.