【问题标题】:What is the format of the received GCM payload接收到的 GCM 有效载荷的格式是什么
【发布时间】:2016-02-14 15:47:44
【问题描述】:

我目前正在使用 android 中的 GCM。但是当我打印捆绑包时,我得到了

{
      android_alert_title = Test,
      from = 12345678910,
      message = Hello world message,
      android.support.content.wakelockid = 1,
      collapse_key = do_not_collapse
}

但是“=”符号,现在客户说这不是 JSON 格式。

谁能帮我确定手机收到的确切有效载荷格式。

GCM 负载格式是否为 JSON?

任何帮助都会很棒。

【问题讨论】:

标签: android google-cloud-messaging


【解决方案1】:

android GCM payload消息格式为Bundle格式

【讨论】:

    猜你喜欢
    • 2019-07-30
    • 2016-10-16
    • 1970-01-01
    • 2023-03-08
    • 2021-11-15
    • 2016-07-09
    • 1970-01-01
    • 2018-03-27
    • 1970-01-01
    相关资源
    最近更新 更多