android jpush json,发送了正确的JPush json却报1002
问题描述:调用jPushClient.sendPush前将PushPayload转换成JSON串打印到日志上,检查日志上的JSON发现没有错误,但是response返回报{"error": {"message": "Missing parameter", "code": 1002}}, jpush发送失败。我希望能够得到JPUSH收到的JSON串和可能的解决方案。
JSON串: {"platform":"all","audience":{"registration_id":["100d855909467fe8ff4"]},"notification":{"android":{"alert":"您的193.64元提现申请已提交成功","extras":{"jumpTo":"13"},"builder_id":2},"ios":{"alert":"您的193.64元提现申请已提交成功","extras":{"jumpTo":"13"},"badge":"0","sound":""}},"options":{"sendno":1322472827,"apns_production":true}}
时间点:[2016-11-29 22:23:55.579 CST]
appKey:78d62eae2bba85e7c08ef7f5
总结
以上是生活随笔为你收集整理的android jpush json,发送了正确的JPush json却报1002的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: 一键复制android代码,兼容安卓和i
- 下一篇: android+完美的列表,androi