MOBILES RECOVERY
MOBILES RECOVERY

Reputation: 25

Why firebase not working with flutter web?

when I don't initialize

  WidgetsFlutterBinding.ensureInitialized();
  await Firebase.initializeApp();

it chrome shows the UI, but when I add it displays nothing . How can I solve this error chrome output, code warning

Upvotes: 1

Views: 2441

Answers (1)

SLendeR
SLendeR

Reputation: 937

You also have to initialize Firebase in index.html; here is the documentation.

Upvotes: 1

Related Questions