The default Firebase app has not yet been configured
When I run my app in IOS, I have the following error:
The default Firebase app has not yet been configured. Add [FIRApp configure]; (FirebaseApp.configure() in Swift) to your application initialization.
The plugin.swift code:
public override func load() {
if FirebaseApp.app() == nil {
FirebaseApp.configure()
}
}
Theoretically you don't have to do any Code in the iOS version of the app, did you put your GoogleService-Info.plist in the correct folder?
Yes, I put the GoogleService-Info.plist. It's plugins code.
What Code are you editing exactly? In my case i used the Push Notifications and added those lines https://github.com/markxoe/ich-bin-eine-biene-mobile/blob/master/ios/App/App/AppDelegate.swift#L14 according to this: https://capacitorjs.com/docs/guides/push-notifications-firebase#add-initialization-code