Answers for "he following FirebaseException was thrown building Products(dirty, state: _ProductsState#2571b): [core/no-app] No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp()"

16

[core/no-app] No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp() flutter

import 'package:firebase_core/firebase_core.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await Firebase.initializeApp();
  runApp(MyApp());
}
Posted by: Guest on August-26-2020

Code answers related to "he following FirebaseException was thrown building Products(dirty, state: _ProductsState#2571b): [core/no-app] No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp()"

Browse Popular Code Answers by Language