flutterfire icon indicating copy to clipboard operation
flutterfire copied to clipboard

[📚] Android Firebase SDK override should be rootProject.ext instead of project.ext

Open red42 opened this issue 6 years ago • 2 comments

This section describes how to override the Firebase SDK version. However, in my tests, I could only make it work using rootProject.ext instead of project.ext.

For instance, this is what I'm using to override the SDK version:

rootProject.ext {
    set("FlutterFire", [
            FirebaseSDKVersion: "25.4.1",
    ])
}

I could not make it work following the documentation, using project.ext.

red42 avatar Sep 15 '20 21:09 red42

I was just looking for documentation for FirebaseSDKVersion: XXX, but couldn't find it. Where can I check what is the latest version?

geecat avatar Sep 23 '20 07:09 geecat

@geecat for Android, you can check the release notes - use the Bill of Materials (BoM) version number. It's easier to find on the right side column.

iOS is easier, as the release notes section names are the SDK versions themselves.

red42 avatar Sep 23 '20 12:09 red42