[📚] Android Firebase SDK override should be rootProject.ext instead of project.ext
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.
I was just looking for documentation for FirebaseSDKVersion: XXX, but couldn't find it. Where can I check what is the latest version?
@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.