Answer the question
In order to leave comments, you need to log in
Google Cloud Messaging token: how permanent is this value?
Implemented push notifications for my application (they work great). The user logs in to the application, a login, password, and a token for push notifications are sent to my server. If the login/password match, then the user data and the token are written to the session table. In the future, it is used to send push notifications to the user's device.
My concern is, does the token ever change and does it need to be updated in the database, or is it a constant value that uniquely identifies a particular device? Android developers, please tell me.
Answer the question
In order to leave comments, you need to log in
As far as I know, this is written in the documentation and it says that it is not necessary to update, even if the token changes, then when sending a push notification to the old token, it will refer to the new one.
https://developers.google.com/cloud-messaging/regi...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question