我正在使用谷歌云消息中的谷歌注册id作为示例,但我不理解此id是如何生成的。
它是链接到google play账号还是手机?
例如,两个不同的手机使用相同的google play帐户将具有相同的注册id
如果用户使用两个google play帐户,注册id是否取决于google play会话?
谢谢你的帮忙
发布于 2013-05-11 06:34:27
GCM注册id对于android登录&设备来说是惟一的。如果用户使用相同的登录登录到两个设备,则它们将使用不同的GCM Ids。在此link中找到了以下内容
An ID issued by the GCM servers to the Android application that allows it to receive messages. Once the Android application has the registration ID, it sends it to the 3rd-party application server, which uses it to identify each device that has registered to receive messages for a given Android application. In other words, a registration ID is tied to a particular Android application running on a particular device.
https://stackoverflow.com/questions/16490451
复制相似问题