Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input Firebase App can not be nil #88

Open
nominator opened this issue Nov 27, 2019 · 0 comments
Open

Input Firebase App can not be nil #88

nominator opened this issue Nov 27, 2019 · 0 comments

Comments

@nominator
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant