【发布时间】: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?
任何帮助都会很棒。
【问题讨论】:
-
不应假定捆绑中的数据为 JSON 格式。
标签: android google-cloud-messaging