no firebase app ' default ' has been created - call firebase.initializeapp() in react native code example
Example: no firebase app ' default ' has been created flutter
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp();
runApp(MyApp());
}