Open phonenatural opened 6 years ago
I have the same problem, on iOS I get this error too: the default Firebase app has not yet been configured. Add [FIRApp configure] to your application initialization
I have the same problem. I get The object does not respond to -messaging:didReceiveRegistrationToken:, nor -messaging:didRefreshRegistrationToken:. Please implement -messaging:didReceiveRegistrationToken: to be provided with an FCM toke
after the second app launch.
@phonenatural @fdambrosio @m1nka are you still seeing this issue with v2 of the plugin?
Hi I upgrade plugin from v1 to v2 and this bug happen. I can't run app on ios emulator or real-device. it crash in splashscreen. maybe it is a problem with crashlytics
yes @soumak77 I have the same problem using firebase 2 on iOS emulator/device
@windwp I am 99% sure you are hitting issue #848 Are you ever able to get it to launch correctly? If not, it's definitely #848.
@fdambrosio similar to above, are you able to launch it successfully? The issue mentions the second launch is failing. If it crashes on every launch it is most likely #848.
thanks @briantq never able to launch it....
Hey guys, after a lot of investigation i have no clue of what could be the problem here. I have an iOS app developed with cordova and using this plugin for notifications.
When i run my app on my device with Xcode for the first time everything works fine, the notifications arrive and the app works great. The problem starts when i stop the app on Xcode and try to open it on my device without using Xcode, the app crashes on the splash screen. If i send any notification, it arrives with no issue, but when i open one notification the app just crashes on the splash screen again.
I have created all certificates and the development, production and ad-hoc provisioning profiles on my apple developer account, created and APNs Key to store on my Firebase Account, I have the file GoogleService-Info.plist on my Resources folders (platforms/ios/AppName/Resources & platforms/ios/AppName/Resources/Resources).
The only error that i can see on my log is this one
... this one
And this one
This errors are shown when i accept the notification permission bubble.
Here is my JS for handling notifications:
I could use some help on this issue because i have been on this for weeks and i'm getting so frustrated. Thank you very much guys.