我已经在 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/