問題:廠商token無,原因是證書密鑰錯(cuò)誤
1、解決問題
Uniapp插件:
一、
1.在jpushModule.initJPushService()前調(diào)用jpushModule.setLoggerEnable(true)開啟debug模式;
2.卸載重裝App;
3.App從開啟到啟動(dòng)完成后,調(diào)用相關(guān)接口;
4.以txt文件形式提供日志信息。
若使用插件以上方法無法獲取更多日志,Android可通過logcat獲取更多日志:adb shell logcat | grep -i jiguang > /Users/liusn/debugger/log
二、
用androidstudio運(yùn)行起來去查看應(yīng)用的debugger日志,離線無法收到推送
JPush集成成功的標(biāo)志
備注:
極光推送發(fā)到具體設(shè)備進(jìn)行測試的Registration ID是通過getRegistrationID獲取到的id
jpushModule.getRegistrationID(result=>{
let registerID = result.registerID
})
極光API
集成參考文章,uniapp中使用極光推送
廠商通道參數(shù)申請指南
JPush插件市場
排查工具使用說明(消息查詢)