-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
'unregistered registration token' in FCM after utilizing window.FirebasePlugin.getToken() on iOS 12 #821
Comments
After upgrading to 1.1.3, I was able to use the `2018-09-05 19:44:32.944340-0400 CabTreks[6021:1518593] 4.13.0 - [Firebase/Messaging][I-FCM002023] The object <FirebasePlugin: 0x2817bd860> does not respond to -messaging:didReceiveRegistrationToken:, nor -messaging:didRefreshRegistrationToken:. Please implement -messaging:didReceiveRegistrationToken: to be provided with an FCM token. 2018-09-05 19:44:33.061417-0400 CabTreks[6021:1518593] 4.13.0 - [Firebase/InstanceID][I-IID003014] Error while reading embedded mobileprovision Error Domain=NSCocoaErrorDomain Code=260 "The file “embedded.mobileprovision” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/var/containers/Bundle/Application/C70FA4FD-88C4-4B7C-B64D-888E95A7DFDE/CabTreks.app/embedded.mobileprovision, NSUnderlyingError=0x283a39710 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}` |
UPDATE: Figured it out, and for the sake of others who don't want to waste countless hours on figuring this out... Original issue solution here: |
Hello!
Currently I am testing our application on iOS 12, and utilizing phone number verification. Signing in on an iOS 11 device using phone number and gathering a token there from the getToken() function seems to work fine, but deploying the app on iOS 12 and signing in to the same account using phone auth (on a different device) is resulting in an 'unregistered registration token' error on FCM when I am attempting to send a push notification to the device.
Mind you, I have not signed out of the other device, but I would assume that when I call the getToken() function, it would provide me with a registered Token for this device that I can push notifications to without needing to sign out of the previous device.
Please let me know if I am going about this in the wrong way here or if anyone else is seeing this issue besides me!
My setup is:
XCode 10.0 Beta 6
iOS 12 Beta 11
Cordova 8.0.0
cordova-ios 4.5.5
cordova-plugin-firebase 1.0.5
Edit: After upgrading to cordova-plugin-firebase 1.1.3, it looks like the Firebase plugin isn't initializing at all, with the following console output:
Cheers
The text was updated successfully, but these errors were encountered: