Open nominator opened 4 years ago
Hi,
I am getting this error when trying to use MLKit plugin. Rest of flutterfire plugins are working. There was another error I was getting __FIRAPP_DEFAULT does not exist
This was solved by making following changes to AppDelegate.m
import UIKit import Flutter import Firebase
@UIApplicationMain @objc class AppDelegate: FlutterAppDelegate { override func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? ) -> Bool { FirebaseApp.configure() GeneratedPluginRegistrant.register(with: self) return super.application(application, didFinishLaunchingWithOptions: launchOptions) } }
But still I am getting the error mentioned in the topic. Please help!!
Thanks
Hi,
I am getting this error when trying to use MLKit plugin. Rest of flutterfire plugins are working. There was another error I was getting __FIRAPP_DEFAULT does not exist
This was solved by making following changes to AppDelegate.m
import UIKit import Flutter import Firebase
@UIApplicationMain @objc class AppDelegate: FlutterAppDelegate { override func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? ) -> Bool { FirebaseApp.configure() GeneratedPluginRegistrant.register(with: self) return super.application(application, didFinishLaunchingWithOptions: launchOptions) } }
But still I am getting the error mentioned in the topic. Please help!!
Thanks