Handle notification messages if it originates from APNS #4951
Unanswered
yosus
asked this question in
Feature request
Replies: 1 comment
-
Same for me. "On iOS, use this field to represent content-available in the APNs payload. When a notification or message is sent and this is set to true, an inactive client app is awoken, and the message is sent through APNs as a silent notification and not through the FCM connection server. Note that silent notifications in APNs are not guaranteed to be delivered, and can depend on factors such as the user turning on Low Power Mode, force quitting the app, etc." |
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.
-
Hi,
With this v8-dev, on top of getting FCM token, I can also get the APNS token using
FirebaseMessaging.instance.getAPNSToken()
.Both APNS and FCM tokens can be used to send notification to the iPhone device, but only notifications originating from FCM are triggering
onMessage
call. Those from APNS does not trigger anything.Would love it if notifications originating from APNS can also trigger
onMessage
.Beta Was this translation helpful? Give feedback.
All reactions