iOS - Inconsistency in FCM token #637
Labels
bug
Something isn't working properly
Cloud Messaging
Related to Firebase FCM / Push Notifications / APNS
ios
relates to iOS platform
runtime issue
An issue related to app runtime
Bug report
CHECKLIST
Current behavior:
The plugin works correctly but there is an inconsistency when generating the FCM token.
If I try to send a notification to the token generated by "window.FirebasePlugin.onTokenRefresh" the notification never arrives.
If I send a notification to all iOS devices (from Firebase) these doesn't arrive.
Instead, if I take from the XCode console the token generated by
"didReceiveRegistrationToken" and I send the notification it arrives correctly. Also, the token generated by "window.FirebasePlugin.getToken" works.
Before updated the plugin to the v13.0.0, it was working correctly.
Environment information
cordova -v
10.0.0cordova platform ls
Installed platforms:
ios 6.2.0
Available platforms:
android ^9.0.0
browser ^6.0.0
electron ^1.0.0
osx ^6.0.0
cordova plugin ls
cordova-open-native-settings 1.5.5 "Native settings"
cordova-plugin-app-version 0.1.12 "AppVersion"
cordova-plugin-appavailability 0.4.2 "AppAvailability"
cordova-plugin-calendar 5.1.5 "Calendar"
cordova-plugin-device 2.0.3 "Device"
cordova-plugin-firebasex 13.0.0 "Google Firebase Plugin"
cordova-plugin-geolocation 4.1.0 "Geolocation"
cordova-plugin-inappbrowser 5.0.0 "InAppBrowser"
cordova-plugin-network-information 3.0.0 "Network Information"
cordova-plugin-screen-orientation 3.0.2 "Screen Orientation"
cordova-plugin-statusbar 2.4.3 "StatusBar"
cordova-plugin-vibration 3.1.1 "Vibration"
cordova-plugin-whitelist 1.3.4 "Whitelist"
cordova-plugin-x-socialsharing 6.0.3 "SocialSharing"
cordova.plugins.diagnostic 6.0.3 "Diagnostic"
es6-promise-plugin 4.2.2 "Promise"
sw_vers
ProductName: Mac OS X
ProductVersion: 10.15.7
BuildVersion: 19H2
Runtime issue
iOS build issue:
node -v
v12.18.3How can we fix that?
Thank you for your great work!
The text was updated successfully, but these errors were encountered: