skip to Main Content

Flutter – await Firebase.initializeApp(); causes error first time working but after my computer down and on not working

void main() async { WidgetsFlutterBinding.ensureInitialized(); if (kIsWeb) { await Firebase.initializeApp( options: const FirebaseOptions( apiKey: "", appId: "", messagingSenderId: "", projectId: "", storageBucket: "", ), ); } else { await Firebase.initializeApp(); } runApp(const MyApp()); } Exception has occurred. PlatformException (PlatformException(channel-error, Unable…

VIEW QUESTION
Back To Top
Search