Google Cloud 消息传递:消息的生命周期


Google Cloud Messaging: Lifetime of a Message

有谁知道Google云消息传递(GCM)将消息保留在队列中多长时间,并在设备因任何原因无法访问时尝试重新发送它们?

您能否提供一些有关信息的链接?

我找到了解决方案:)正如他们所说"默认超时为 4 周,除非设置了 time_to_live 标志。

有关消息生存期的详细信息,请参阅 http://www.mit.edu/afs.new/sipb/project/android/docs/google/gcm/adv.html

希望它能节省您的时间:)