简体   繁体   中英

Maximum stored non-collapsible messages on Google Cloud Messaging Servers

In the Google Cloud Messaging documentation about Messages with Payload I found the following information:

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.

But I can't find anything whether the 100 non-collapsible messages is the limit for the whole project or just per device?

best regards, Phil

I think the limit if for per device, because the collapse key is also associate with registration ID.

Registration ID is tied to a particular Android application running on a particular device.

Also to note from the documentation: However, if you use collapsible messages, remember that GCM only allows a maximum of 4 different collapse keys to be used by the GCM server per device at any given time. That potentially indicates that the messages are tie to per device.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM