【问题标题】:Google Cloud Messaging: Lifetime of a Message谷歌云消息:消息的生命周期
【发布时间】:2016-04-22 10:15:57
【问题描述】:

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

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

【问题讨论】:

  • 您在哪里搜索过这些信息?
  • 我在 google 上进行了搜索,但找不到 GCM 保持队列活动的确切天数。也许我的关键字不正确。你知道我在哪里可以找到它吗?
  • @NarendraOjha 您可以在本文档中看到 time_to_live 字段。 developers.google.com/cloud-messaging/…
  • @rusted brain,感谢分享该链接。

标签: php android google-cloud-messaging


【解决方案1】:

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

有关消息生命周期的更多信息,请访问http://www.mit.edu/afs.new/sipb/project/android/docs/google/gcm/adv.html

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2010-10-09
    • 1970-01-01
    • 2013-10-04
    • 2016-04-21
    • 2016-12-05
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多