简体   繁体   中英

Google Cloud Messaging: Lifetime of a Message

does anyone knows how long Google Cloud Messaging (GCM) keeps messages in queue and try resending them if the device is not reachable for any reason?

Can you please provide some links with the information about that?

I have found the solution :) As they said "The default timeout is 4 weeks, unless the time_to_live flag is set.".

More information about lifetime of a message can be found at http://www.mit.edu/afs.new/sipb/project/android/docs/google/gcm/adv.html

Hope it will save your time :)

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