The application is working fine on android, however, when I am opening the application on iOS, it crashes instantly without giving any error.
Asked
Active
Viewed 169 times
1 Answers
0
I solved this problem just by moving below line at the top of the function.
FirebaseApp.configure()
Put the above line as the first instruction in the didFinishLaunchingWithOptions method. Like below.
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
FirebaseApp.configure()
GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}

Maaz Aftab
- 238
- 2
- 9