You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When await Firebase.initializeApp() called, all time chrome freezes so long time and VScode appears.
There is a yellow mark in the ui.webOnlyInitializePlatform(); part of web_entrypoint.dart.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm debugging on chrome, and when
Firebase.initializeApp()
called, chrome crashes.I installed Firebase on my flutter project;
And I enabled Firebase in
pubspec.yaml
.These are automatically added.
Then initialize Firebase with
main.dart
.When
await Firebase.initializeApp()
called, all time chrome freezes so long time and VScode appears.There is a yellow mark in the
ui.webOnlyInitializePlatform();
part ofweb_entrypoint.dart
.image : https://i.stack.imgur.com/I7g30.png
Also I couldn't find any errors in debug console.
The following code will work fine.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions