You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With this v8-dev, on top of getting FCM token, I can also get the APNS token using FirebaseMessaging.instance.getAPNSToken().
Once I have both APNS and FCM tokens, I use both tokens to send notifications (FCM token to FCM server, APNS token to APNS server). Both notifications are received by the iPhone device.
The issue I am facing is onMessage is not triggered if I send using the APNS token. It works fine if I use the FCM token (the onMessage is triggered) . Do I need to configure receiving APNS message separately ? Or maybe use a plugin like https://pub.dev/packages/flutter_apns just to handle the APNS notification messages ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
With this v8-dev, on top of getting FCM token, I can also get the APNS token using
FirebaseMessaging.instance.getAPNSToken()
.Once I have both APNS and FCM tokens, I use both tokens to send notifications (FCM token to FCM server, APNS token to APNS server). Both notifications are received by the iPhone device.
The issue I am facing is
onMessage
is not triggered if I send using the APNS token. It works fine if I use the FCM token (theonMessage
is triggered) . Do I need to configure receiving APNS message separately ? Or maybe use a plugin like https://pub.dev/packages/flutter_apns just to handle the APNS notification messages ?Beta Was this translation helpful? Give feedback.
All reactions