android - Android 中的 GCM 消息数

标签 android google-cloud-messaging

我已经在 Android 中实现了 GCM,我想知道假设我的应用程序有超过 10K+ 用户并且我想同时将 GCM 推送给用户。

Android 一天中GCM 消息的数量限制是多少。有什么想法吗?

最佳答案

从C2DM 到GCM 后,发送消息的数量没有任何限制。但是,如果消息在您发送时无法送达,则待送达消息的数量实际上有限制,最多 100 条。

根据 GCM documentation :

Note: There is a limit on how many messages can be stored without collapsing. That limit is currently 100. If the limit is reached, all stored messages are discarded. Then when the device is back online, it receives a special message indicating that the limit was reached. The application can then handle the situation properly, typically by requesting a full sync.

关于android - Android 中的 GCM 消息数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23406447/

相关文章:

android - 在运行时推送通知(GCM)权限?

java - ClassNotFoundException 打击 XMPPConnection

java - 如何上传.mp3文件和图片到http服务器?

android - 评分栏像代号一的android

java - 在 Activity-Back-Stack 上回收 Activity View

android - 在 Android 中取消订阅 Azure 通知中心标签

android - 如何将 firebase 云消息传递添加到 eclipse?

php - C2DM 和 GCM 有什么区别

android - 隐藏应用程序 PlayStore

android - 如何在取消发布后重新发布应用程序?