-1.4 C
New York
Saturday, December 21, 2024

MissingPluginException(No implementation discovered for methodology getAll on channel plugins.flutter.io/


I run my utility on android gadget and each factor appear to be effective however when i run the app on ios simulator i received this problem for each bundle i’m not accustomed to ios set up are you able to assist?
right here is the code the place i received the issue

    Future primary() async {
  WidgetsFlutterBinding.ensureInitialized();

  await PackageInfo.fromPlatform().then((worth) {
    AppInfoHelper.packageInfo = worth;
  });
  await Firebase.initializeApp(choices: DefaultFirebaseOptions.iosProduction);

  FirebaseMessaging.occasion.requestPermission();
  handleForeGroundNotification();
  FirebaseMessaging.onBackgroundMessage(_firebaseMessagingBackgroundHandler);
  // FirebaseMessaging.onMessageOpenedApp.hear(onNotificationOpenApp);
  await flutterLocalNotificationsPlugin
      .resolvePlatformSpecificImplementation<
      AndroidFlutterLocalNotificationsPlugin>()
      ?.createNotificationChannel(channel);
  await EasyLocalization.ensureInitialized(

  );
  SystemChrome.setPreferredOrientations([
    DeviceOrientation.portraitUp,
    DeviceOrientation.portraitDown,
  ]);
  SystemChrome.setSystemUIOverlayStyle(const SystemUiOverlayStyle(
      statusBarColor: kMainDarkColor, // standing bar shade
      statusBarIconBrightness: Brightness.mild, // standing bar icons' shade
      systemNavigationBarIconBrightness: Brightness.mild,
      systemNavigationBarColor: kBackGroundColor));

  Bloc.observer = MyBlocObserver();
  runApp(
    EasyLocalization(
      supportedLocales: const [Locale('en'), Locale('ar')],
      path: 'belongings/translations',
      startLocale: const Locale('ar'),
      fallbackLocale: const Locale('en'),
      youngster: MyApp(appRouter: AppRouter()),
    ),
  );
}

that is the road that precipitated the difficulty

 await PackageInfo.fromPlatform().then((worth) {
    AppInfoHelper.packageInfo = worth;
  });

when i exchange this line with firebase line i received the identical problem for firebase
my xode verison xcode-select model 2405.
and that is the yaml file title:
description: A brand new Flutter challenge.

publish_to: 'none' # Take away this line in case you want to publish to pub.dev

model: 4.2.1+73

setting:
  sdk: '>=2.18.0 <3.0.0'

dependencies:
  flutter:
    sdk: flutter

  cupertino_icons: ^1.0.2
  flutter_bloc: ^8.1.1
  web_socket_channel: ^3.0.1
  http: ^1.2.2
  carousel_slider: ^5.0.0
  equatable: ^2.0.5
  animations: ^2.0.5
  flutter_svg: ^2.0.10+1
  easy_localization: ^3.0.1
  pinput: ^5.0.0
  shared_preferences: ^2.0.15
  flutter_local_notifications: ^17.1.2
  firebase_messaging: ^15.0.4
  shimmer_animation: ^2.1.0+1
  firebase_core: ^3.3.0
  google_maps_flutter: ^2.2.1
  permission_handler: ^11.3.1
  flutter_datetime_picker_plus: ^2.0.1
  photo_view: ^0.15.0
  badges: ^3.1.2
  url_launcher: ^6.1.6
  package_info_plus: ^8.0.2
  change_app_package_name: ^1.1.0
  share_plus: ^10.0.0
  intl_phone_number_input: ^0.7.2
  phone_number: ^2.1.0
  geolocator: ^12.0.0
  keyboard_actions: ^4.2.0
  app_links: ^6.3.2
  path_provider: ^2.1.3
  flutter_exit_app: ^1.1.2
  shimmer: ^3.0.0

  facebook_app_events:
    git:
      url: https://github.com/oddbit/flutter_facebook_app_events
      ref: repair/iOS-issue-0.19.4


  cached_network_image:




dev_dependencies:
  flutter_test:
    sdk: flutter

  flutter_lints: ^4.0.0

flutter:
  belongings:
    - belongings/photographs/
    - belongings/translations/
  fonts:
    - household: CairoR
      fonts:
        - asset: fonts/CAIRO-REGULAR.OTF
    - household: CairoL
      fonts:
        - asset: fonts/CAIRO-LIGHT.OTF
    - household: CairoB
      fonts:
        - asset: fonts/CAIRO-BOLD2.TTF
  uses-material-design: true

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles