Default FirebaseApp is not initialized

I had this same issue some time ago.

You’re trying to get an instance of Firebase without initialize it. Please add this line of code before you try to get an instance of Firebase, in your main function or a FutureBuilder:

FirebaseApp.initializeApp();

Leave a Comment