3

I already tried this post's all solutions, I'm using

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await Firebase.initializeApp();
  runApp(...)
}

But I still see this error in my console:

8.9.0 - [Firebase/Core][I-COR000005] No app has been configured yet.

I tested it on both a simulator and a real device. However, all Firebase operations are working as expected.

iDecode
  • 22,623
  • 19
  • 99
  • 186

1 Answers1

2

This might be late to answer but adding

FirebaseApp.configure()

to ios/Runner/AppDelegate.swift just before

GeneratedPluginRegistrant.register(with: self)

solved the problem for me. I did not have the Flutter Android app ready so did not try it on that.

I got this answer from here.

Imad
  • 23
  • 1
  • 5