FCM Push notification's on IOS - pushNotificationReceived listener not called #4601
Unanswered
dave-nelson-uk
asked this question in
Q&A
Replies: 1 comment
-
apps can only have one delegate for the notifications, and |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
We're utilising FCM push notifications with our app for both Android and IOS. Everything works perfectly on Android, but we're seeing issues for IOS.
Notifications are being sent correctly from our server's, and being received by the device as they are appearing in the IOS notification list when the app is not open, but they are not activating the pushNotificationReceived event. The listeners are in place.
Example :
Registration is in place :
AppDelegate.swift changes are in place:
Podfile looks like this :
I dont think any of the plugins I have would conflict either:
D:\youin\youin>npx cap copy
√ Copying web assets from www to android\app\src\main\assets\public in 603.82ms
√ Copying native bridge in 1.02ms
√ Copying capacitor.config.json in 1.10ms
Found 6 Cordova plugins for android
cordova-plugin-badge (0.8.8)
cordova-plugin-device (2.0.3)
cordova-plugin-file (6.0.2)
cordova-plugin-geolocation (4.1.0)
cordova-plugin-local-notification (0.9.0-beta.2)
cordova-plugin-purchase (10.5.3)
√ copy in 748.28ms
√ Copying web assets from www to ios\App\public in 526.54ms
√ Copying native bridge in 932.30μp
√ Copying capacitor.config.json in 1.10ms
Found 6 Cordova plugins for ios
cordova-plugin-badge (0.8.8)
cordova-plugin-device (2.0.3)
cordova-plugin-file (6.0.2)
cordova-plugin-geolocation (4.1.0)
cordova-plugin-local-notification (0.9.0-beta.2)
cordova-plugin-purchase (10.5.3)
√ copy in 574.69ms
√ copy in 278.00μp
Any clues as to why its not working, or is this a bug?
Beta Was this translation helpful? Give feedback.
All reactions