-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃悰 [firebase_core_web 1.7.0] is not working for web on flutter master channel #9132
Comments
I fixed it by passing "options" in Firebase.initializeApp() method |
@Alecia1997 |
Not getting the same error when using the previous version - Firebase_core_web: 1.6.6. |
I have the same issue on the web using flutter stable version 3.0.2. In the project, firebase_core is defined as
Note there is no symbol (^) before the version number. It means I want to use this version strictly. This version 1.19.1 uses
Note: firebase_core_web version is ^1.6.6. When I build the project, it is taking firebase_core_web: 1.7.0 Due to version 1.7.0, the web build is not working. The question is why the dependency version is resolved to 1.7.0 is this correct behavior? UPDATE: |
It seems that JS SDK V9 is used now which is the cause of this issue. |
I had to downgrade all the web dependencies to make the project work on the web.
|
@Alecia1997 also getting the same error. Downgrading all packages seems like the only way at the moment. @google-oss-bot Please advise on a different solution |
This could be related to web JS SDK v9 which is the current version for which an issue is filed that you can track: I am able to replicate the same error as mentioned here: #9106 (comment) |
It seems that we have to pass the Firebase options when initializing the Firebase from the dart side using |
Yes, you have to pass |
Receiving the following when running on web (Master Channel) -> Error: Assertion failed
The text was updated successfully, but these errors were encountered: