[ad_1]
I am experiencing this error when constructing my Flutter app on iOS (it really works high quality on Android):
MissingPluginException (MissingPluginException(No implementation discovered for methodology Firebase#initializeCore on channel plugins.flutter.io/firebase_core))
I’ve searched and have seen this error in a number of locations on this discussion board, however the options are all particular to Android, not iOS. I am at a loss.
Right here is my pubspec.yaml:
dependencies:
flutter:
sdk: flutter
firebase_core: ^1.10.0
firebase_database: ^9.0.4
firebase_analytics: ^9.0.4
cloud_firestore: ^3.1.1
flutter_gallery_assets: ^1.0.2
firebase_storage: ^10.2.0
permission_handler: ^8.3.0
cupertino_icons: ^1.0.4
flutter_cupertino_localizations: ^1.0.1
http: ^0.13.4
get_it: ^7.2.0
supplier: ^6.0.1
flappy_search_bar: ^1.7.2
flutter_form_builder: ^7.0.0
image_picker: ^0.8.4+4
digicam: ^0.9.4+5
path_provider: ^2.0.7
path:
dev_dependencies:
flutter_test:
sdk: flutter
grinder: ^0.8.4
I’ve run flutter physician, flutter clear, and flutter pub get. I’ve eliminated and carried out a contemporary set up of the app. I up to date Firebase to the most recent model.
This is the place I am calling Firebase and the place the error pops up:
void primary() async {
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp();
runApp(MaterialApp(
title: "Utilizing Tabs",
residence: MyHome()));
}
For kicks, I applied this answer in construct.gradle as properly, although it seems to be Android-specific, not iOS:
buildTypes {
launch {
signingConfig signingConfigs.launch
minifyEnabled false
shrinkResources false
}
}
If anybody has any ideas, it is a lot appreciated. Thanks!
[ad_2]
