gpt4 book ai didi

android - 亚马逊社交网络 : Does it handle Google Cloud Messaging Canonical Ids?

转载 作者:太空宇宙 更新时间:2023-11-03 11:11:34 25 4
gpt4 key购买 nike

我正在浏览 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com