我正在浏览 Google Cloud Messaging 文档,我遇到了这个部分:
http://developer.android.com/google/gcm/adv.html#canonical
Canonical IDs
If later on you try to send a message using a different registration ID, GCM will process the request as usual, but it will include the canonical registration ID in the registration_id field of the response. Make sure to replace the registration ID stored in your server with this canonical ID, as eventually the ID you're using will stop working.
我们如何在使用 Amazon SNS 端点 ANR 时处理 Canonical Id 更新?
我查看了 Amazon API 文档
CreatePlatformEndpoint:http://docs.aws.amazon.com/sns/latest/api/API_CreatePlatformEndpoint.html
和
发布:http://docs.aws.amazon.com/sns/latest/api/API_Publish.html
请推荐。谢谢!
最佳答案
您无法通过 SNS 获取 Canonical ID,但您可以自行通过 Google GCM REST Api 获取。
看到这个:GCM with PHP (Google Cloud Messaging)
结果将具有规范 ID。
关于android - 亚马逊社交网络 : Does it handle Google Cloud Messaging Canonical Ids?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23611707/