Google Cloud Messaging Unique Key

我们两清 提交于 2019-12-24 00:33:50

问题


I've read in Google Cloud Messaging documentation that GCM key is unique per device and per application. If I uninstall and reinstall the application the key is always the same, ie, the key is calculated based on some device and application identifiers or the key will change?


回答1:


No, the key (called Registration ID) may change after you uninstall and re-install the app.

The following scenario will cause the ID to change :

  1. un-install the app
  2. send a GCM message to the device several times, until GCM server realizes that the app was uninstalled from the device
  3. re-install the app


来源:https://stackoverflow.com/questions/17594948/google-cloud-messaging-unique-key

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!