android jpush json,发送了正确的JPush json却报1002
問(wèn)題描述:調(diào)用jPushClient.sendPush前將PushPayload轉(zhuǎn)換成JSON串打印到日志上,檢查日志上的JSON發(fā)現(xiàn)沒有錯(cuò)誤,但是response返回報(bào){"error": {"message": "Missing parameter", "code": 1002}}, jpush發(fā)送失敗。我希望能夠得到JPUSH收到的JSON串和可能的解決方案。
JSON串: {"platform":"all","audience":{"registration_id":["100d855909467fe8ff4"]},"notification":{"android":{"alert":"您的193.64元提現(xiàn)申請(qǐng)已提交成功","extras":{"jumpTo":"13"},"builder_id":2},"ios":{"alert":"您的193.64元提現(xiàn)申請(qǐng)已提交成功","extras":{"jumpTo":"13"},"badge":"0","sound":""}},"options":{"sendno":1322472827,"apns_production":true}}
時(shí)間點(diǎn):[2016-11-29 22:23:55.579 CST]
appKey:78d62eae2bba85e7c08ef7f5
總結(jié)
以上是生活随笔為你收集整理的android jpush json,发送了正确的JPush json却报1002的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 一键复制android代码,兼容安卓和i
- 下一篇: android+完美的列表,androi