Should the Push Notification Guide direct the user to subscribe to FCM token updates? #2665
Unanswered
dminkovsky
asked this question in
General
Replies: 1 comment
-
Also maybe this is all beyond the scope of these docs, but in terms of FCM token lifecycle, not only can you monitor as mentioned above, but on server-side message sending you have to watch out for the error
|
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.
-
In the Push Notification Guide, it says the user can get the FCM token by querying
InstanceID
:However, in the FCM docs about setting up an iOS client, it says you can also monitor the token to find out when it changes:
https://firebase.google.com/docs/cloud-messaging/ios/client?authuser=1#monitor-token-refresh
Practically, does it make a difference? Should the docs direct the user to this second approach?
Beta Was this translation helpful? Give feedback.
All reactions