极光推送初始化成功,但是收不到通知

android
标签: #<Tag:0x00007f83d57e9b80>

(木偶) #1

手机为小米5s Plus ,系统为MIUI 10 8.11.1|开发版
过滤jiguang日志如下:

2019-05-13 14:45:59.574 17550-17550/com.guagua.qiqi D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.1.7, buildId:421
2019-05-13 14:45:59.577 17550-17550/com.guagua.qiqi D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
2019-05-13 14:45:59.623 17550-17719/com.guagua.qiqi D/JIGUANG-JCore: [JCoreGlobal] action:init - sdkVersion:1.2.6, buildId:101
2019-05-13 14:46:00.454 17550-17719/com.guagua.qiqi D/JIGUANG-JCore: [JCoreGlobal] manifest:channel - developer-default
2019-05-13 14:46:00.500 17550-17550/com.guagua.qiqi I/JIGUANG-JPush: [MeizuPushHelper] get model:,brand:Xiaomi
2019-05-13 14:46:00.529 17550-17550/com.guagua.qiqi D/JIGUANG-JPush: [XMPushHelper] XIAOMI_APPKEY value:5281731768294
2019-05-13 14:46:00.530 17550-17550/com.guagua.qiqi D/JIGUANG-JPush: [XMPushHelper] XIAOMI_APPID value:2882303761517317294
2019-05-13 14:46:00.530 17550-17550/com.guagua.qiqi D/JIGUANG-JPush: [XMPushHelper] xiaomiAppKey:5281731768294,xiaomiAppid:2882303761517317294
2019-05-13 14:46:00.559 17550-17719/com.guagua.qiqi D/JIGUANG-JCore: [JCoreGlobal] metadata: appKey - 0a144324bcde925c4385e2a6
2019-05-13 14:46:00.559 17550-17719/com.guagua.qiqi D/JIGUANG-JCore: [AndroidUtil] action:checkValidManifest
2019-05-13 14:46:00.577 17550-17719/com.guagua.qiqi D/JIGUANG-JCore: [JCoreServiceUtils] set Push/Alarm Receiver enabled
2019-05-13 14:46:01.617 17550-17778/com.guagua.qiqi D/JIGUANG-JPush: [XMPlatformsReceiver] onCommandResult is called. command={register}, resultCode={0}, reason={null}, category={null}, commandArguments={[P4bBnuez6V2OgPeC/zabwbHCuMYUJrniUiTA3C180xNF34GYctabmsj8FXxGOI8q]}
2019-05-13 14:46:01.617 17550-17778/com.guagua.qiqi D/JIGUANG-JPush: [ThirdPushManager] doAction,action:action_register_token,bundle:Bundle[{token=P4bBnuez6V2OgPeC/zabwbHCuMYUJrniUiTA3C180xNF34GYctabmsj8FXxGOI8q, platform=1}]
2019-05-13 14:46:01.643 17550-17778/com.guagua.qiqi D/JIGUANG-JPush: [XMPlatformsReceiver] xiao mi push register success
2019-05-13 14:46:04.411 17550-17550/com.guagua.qiqi D/JIGUANG-JCore: [PushReceiver] onReceive - cn.jpush.android.intent.ACTION_REPORT_HISTORY
2019-05-13 14:46:04.413 17550-17719/com.guagua.qiqi D/JIGUANG-JPush: [PushReceiverCore] onReceive - cn.jpush.android.intent.ACTION_REPORT_HISTORY
2019-05-13 14:46:09.450 17550-17789/com.guagua.qiqi D/JIGUANG-JCore: [HttpHelper] status code:200 retry left:2
2019-05-13 14:47:16.767 17550-17550/com.guagua.qiqi D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.1.7, buildId:421
2019-05-13 14:50:19.411 19388-19388/com.guagua.qiqi D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.1.7, buildId:421
2019-05-13 14:50:19.422 19388-19388/com.guagua.qiqi D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
2019-05-13 14:50:19.471 19388-19880/com.guagua.qiqi D/JIGUANG-JCore: [JCoreGlobal] action:init - sdkVersion:1.2.6, buildId:101
2019-05-13 14:50:20.050 19388-19880/com.guagua.qiqi D/JIGUANG-JCore: [JCoreGlobal] manifest:channel - developer-default
2019-05-13 14:50:20.075 19388-19388/com.guagua.qiqi I/JIGUANG-JPush: [MeizuPushHelper] get model:,brand:Xiaomi
2019-05-13 14:50:20.133 19388-19388/com.guagua.qiqi D/JIGUANG-JPush: [XMPushHelper] XIAOMI_APPKEY value:5281731768294
2019-05-13 14:50:20.133 19388-19388/com.guagua.qiqi D/JIGUANG-JPush: [XMPushHelper] XIAOMI_APPID value:2882303761517317294
2019-05-13 14:50:20.133 19388-19388/com.guagua.qiqi D/JIGUANG-JPush: [XMPushHelper] xiaomiAppKey:5281731768294,xiaomiAppid:2882303761517317294
2019-05-13 14:50:20.353 19388-19880/com.guagua.qiqi D/JIGUANG-JCore: [JCoreGlobal] metadata: appKey - 0a144324bcde925c4385e2a6
2019-05-13 14:50:20.353 19388-19880/com.guagua.qiqi D/JIGUANG-JCore: [AndroidUtil] action:checkValidManifest
2019-05-13 14:50:20.475 19388-19880/com.guagua.qiqi D/JIGUANG-JCore: [JCoreServiceUtils] set Push/Alarm Receiver enabled
2019-05-13 14:50:25.117 19388-20046/com.guagua.qiqi D/JIGUANG-JPush: [XMPlatformsReceiver] onCommandResult is called. command={register}, resultCode={0}, reason={null}, category={null}, commandArguments={[e0Oeu4NmYcCH+g4ptlE+hOjEnwdcAobE3NVYfreKiTl4NgHRAL8YnZQsUwNbPOK/]}
2019-05-13 14:50:25.119 19388-20046/com.guagua.qiqi D/JIGUANG-JPush: [ThirdPushManager] doAction,action:action_register_token,bundle:Bundle[{token=e0Oeu4NmYcCH+g4ptlE+hOjEnwdcAobE3NVYfreKiTl4NgHRAL8YnZQsUwNbPOK/, platform=1}]
2019-05-13 14:50:25.212 19388-20046/com.guagua.qiqi D/JIGUANG-JPush: [XMPlatformsReceiver] xiao mi push register success
2019-05-13 14:50:25.746 19388-19388/com.guagua.qiqi D/JIGUANG-JCore: [PushReceiver] onReceive - intent.plugin.platform.REFRESSH_REGID
2019-05-13 14:50:25.754 19388-19388/com.guagua.qiqi D/JIGUANG-JCore: [PushReceiver] onReceive - cn.jpush.android.intent.ACTION_REPORT_HISTORY
2019-05-13 14:50:25.789 19388-19880/com.guagua.qiqi D/JIGUANG-JPush: [PushReceiverCore] onReceive - intent.plugin.platform.REFRESSH_REGID
2019-05-13 14:50:25.892 19388-19880/com.guagua.qiqi D/JIGUANG-JPush: [PushReceiverCore] onReceive - cn.jpush.android.intent.ACTION_REPORT_HISTORY
2019-05-13 14:50:29.536 19388-20084/com.guagua.qiqi D/JIGUANG-JCore: [HttpHelper] status code:200 retry left:2
2019-05-13 14:50:31.769 19388-19937/com.guagua.qiqi D/JIGUANG-JCore: [HttpHelper] status code:200 retry left:2

(木偶) #2

补充:在上午的时候收到了通知,但是杀死应用清理内存后无法再收到通知,打开应用也无法收到通知。重启手机、重新安装应用都无效。


#3

提供你设备的 registrationID 和消息的 MessageID 值


(木偶) #4

registerId:120c83f7601d03bdb81 UID:32514f0a84b736557ded6c9471f8ac25,messageID前端获取不到,要问下后台


#5

我查询了你们 API 发给这个 registrationID 的消息,是有成功通过小米通道下发下去的,检查下你的手机通知栏设置?


(木偶) #6

还有一个小米note lte, 系统:MIUI 9 7.11.16 | 开发版,这个手机是回回都可以收到


#7

你给我的这个 registrationID 我查询是收到了的,你看下是不是给错了 ID 值

没有的话检查下手机的通知栏设置