android - GCM - What is the special message from GCM look like when the limit of 100 messages is reached? -
https://developers.google.com/cloud-messaging/server#send-msg saw note : note: there limit of 100 messages can stored without collapsing. if limit reached, stored messages discarded. when device online, receives special message indicating limit reached. application can handle situation properly, typically requesting full sync app server.
i have no idea special message gcm , how can handle ?
implement
@override public void ondeletedmessages() { super.ondeletedmessages(); log.w("mcheck", "ondeletedmessages"); log.e("mcheck", "messages deleted"); } from gcmlistenerservice.
method fier every time, gcm delete cached messages reason including exceed of 100 messages limit
Comments
Post a Comment