简体   繁体   English

收到的GCM有效载荷的格式是什么

[英]What is the format of the received GCM payload

I am currently working with GCM in android. 我目前在Android中使用GCM。 But when I print the bundle extras I get 但是当我打印额外的捆绑包时,我得到了

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

But "=" symbol, Now customer is saying that this not a JSON format. 但是“ =”符号,现在客户说这不是JSON格式。

Can anyone help me in identifying the exact payload format received by the phone. 谁能帮助我确定手机接收到的确切有效载荷格式。

The GCM payload format is JSON or not? GCM有效载荷格式是否为JSON?

Any help would be great. 任何帮助都会很棒。

android GCM有效负载消息格式为捆绑格式

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM