Google 云消息服务器上存储的最大不可折叠消息

Maximum stored non-collapsible messages on Google Cloud Messaging Servers

在 Google Cloud Messaging 文档中关于 Messages with Payload 我找到了以下信息:

GCM will store up to 100 non-collapsible messages. After that, all messages are discarded from GCM, and a new message is created that tells the client how far behind it is.

但是我找不到任何信息,无论 100 条不可折叠消息是整个项目的限制还是每个设备的限制?

此致, 菲尔

我认为是针对每个设备的限制,因为折叠键也与注册 ID 相关联。

注册 ID 绑定到特定设备上的特定 Android 应用程序 运行。

另请注意文档: 但是,如果您使用可折叠消息,请记住 GCM 只允许 GCM 服务器在任何给定时间最多使用 4 个不同的折叠键。这可能表明消息与每个设备相关。