android 打包后推送消息能收到,但是点击推送消息后相应的后续操作无法执行

android
jpush
标签: #<Tag:0x00007fb848135008> #<Tag:0x00007fb848167300>

(Kirk Wang) #1

android 在测试环境是OK的,对应的通知都能收到,并且点击会跳转到相应的页面,但是打包后推送消息能收到,但是点击推送消息后相应的后续操作无法执行,比如点击推送消息需要跳转到其它页面,但是点击之后没有反应,是需要把对应跳转的类添加防混淆吗?或者需要添加其它的操作,Jpush的防混淆已经加过了


常见问题 - JPush 合集(持续更新)
(Kirk Wang) #2

以下是打包后的APK运行收到推送消息,点击之后的LOG日志:

06-22 18:02:44.974 1456-1499/? D/systemui_boost: notification panel visible=false
06-22 18:02:44.975 1456-1499/? D/systemui_boost: ui thread tid=2147
    render thread tid=2395
    thread tid=2147, priority is set to 0
    thread tid=2395, priority is set to 0
    ui thread and render thread are reset
06-22 18:02:44.975 2147-2147/? D/FreeformWindow: isLaunchMultiWindow:false gameKey:0
06-22 18:02:44.981 2147-4659/? W/KeyguardViewMediator: verifyUnlock called when not externally disabled
06-22 18:02:44.983 1456-1533/? V/NetworkPolicy: updateRulesForPowerRestrictionsUL(10375), isIdle: false, mRestrictPower: false, mDeviceIdleMode: false, isForeground=true, isWhitelisted=true, oldRule=0 (NONE), newRule=0 (NONE), newUidRules=0 (NONE), oldUidRules=0 (NONE)
06-22 18:02:44.984 14098-14098/? D/JIGUANG-JCore: [PushReceiver] onReceive - cn.jpush.android.intent.NOTIFICATION_OPENED_PROXY.475d9024-ad6e-49d5-a26d-2bbd675854f2
06-22 18:02:44.986 14098-14639/? D/JIGUANG-JPush: [PushReceiverCore] onReceive - cn.jpush.android.intent.NOTIFICATION_OPENED_PROXY.475d9024-ad6e-49d5-a26d-2bbd675854f2
06-22 18:02:45.001 2917-2917/? W/PushService: 2018-06-22 18:02:45,000 - [WARN::PushService] - [Thread:2] TinyData TinyDataStorage.cacheTinyData cache data to file begin item:ISmk8-2600  ts:1529661765000
06-22 18:02:45.006 2917-14640/? D/PushService: 2018-06-22 18:02:45,005 - [DEBUG::PushService] - com.dsi.ant.serveris system app. StatService
06-22 18:02:45.012 2147-2147/? D/StatusBar: onNotificationRemoved:  Key: 0|com.jisu.sports|184484356|null|10375
06-22 18:02:45.037 1456-3085/? W/ActivityManager: Sending non-protected broadcast android.intent.action.APPLICATION_MESSAGE_UPDATE from system 2147:com.android.systemui/1000 pkg com.android.systemui. Callers=
    Sending non-protected broadcast android.intent.action.APPLICATION_MESSAGE_UPDATE from system 2147:com.android.systemui/1000 pkg com.android.systemui. Callers=
06-22 18:02:45.039 3138-3138/? I/Launcher.ApplicationsMessage: onReceive true
    update com.jisu.sports/ to null
06-22 18:02:45.039 2917-14640/? D/PushService: 2018-06-22 18:02:45,039 - [DEBUG::PushService] - com.dsi.ant.serveris system app. StatService
06-22 18:02:45.042 2917-2917/? W/PushService: 2018-06-22 18:02:45,042 - [WARN::PushService] - [Thread:2] TinyData TinyDataStorage.cacheTinyData cache data to file begin item:ISmk8-2601  ts:1529661765042
06-22 18:02:45.133 14098-14329/? D/JIGUANG-JCore: [HttpHelper] status code:200 retry left:2
06-22 18:02:45.233 2147-2147/? D/NotificationPanelView: performCollapse mIsQSClosed=false
06-22 18:02:45.249 2917-14640/? D/PushService: 2018-06-22 18:02:45,249 - [DEBUG::PushService] - com.dsi.ant.serveris system app. StatService
    
    
    --------- beginning of system
06-22 18:02:45.250 1456-1532/? I/ActivityManager: Killing 11132:com.miui.video/u0a28 (adj 904): empty for 1800s
06-22 18:02:45.266 2917-2917/? W/PushService: 2018-06-22 18:02:45,266 - [WARN::PushService] - [Thread:2] TinyData TinyDataStorage.cacheTinyData cache data to file begin item:ISmk8-2602  ts:1529661765265
06-22 18:02:45.272 2147-2147/? W/ProgressBarDelegate: Unknown Drawable subclass, src=android.graphics.drawable.ScaleDrawable@184975f
06-22 18:02:45.275 2917-2917/? W/PushService: 2018-06-22 18:02:45,275 - [WARN::PushService] - [Thread:2] TinyData TinyDataStorage.cacheTinyData cache data to file begin item:ISmk8-2603  ts:1529661765275
06-22 18:02:45.278 2147-2455/? V/NotificationSortHelper: update package = com.jisu.sports click = 16, showCount = 24, id = 544
06-22 18:02:45.282 2917-2917/? W/PushService: 2018-06-22 18:02:45,282 - [WARN::PushService] - [Thread:2] TinyData TinyDataStorage.cacheTinyData cache data to file begin item:ISmk8-2604  ts:1529661765282
06-22 18:02:45.326 2147-2147/? D/BatteryController: action=android.intent.action.BATTERY_CHANGED; mCharging=true
06-22 18:02:45.329 2339-2339/? D/QtiCarrierConfigHelper: WARNING, no carrier configs on phone Id: 0
06-22 18:02:45.329 3877-3877/? I/BatteryInfoReceiver: ACTION_BATTERY_CHANGED
06-22 18:02:45.330 3635-3834/? D/PowerCheckerService: onBatteryChanged, mBatteryLevel = 100, status = 2, level = 100, plug = 2
06-22 18:02:45.330 2110-2711/? D/HeadsetStateMachine: Disconnected process message: 10, size: 0
    Enter processIntentBatteryChanged()
    Exit processIntentBatteryChanged()
    Exit Disconnected processMessage()

#3

没有特别针对跳转的 混淆,就只有整体的混淆设置。

看你这个日志,是有走点击的方法。

你集成的 JPUsh SDK 版本多少

是特殊机型有此问题还是测试的都有问题,手机机型和系统说一下


(Kirk Wang) #5

jpush是3.1.3,好几个测试机都试了点击后没效果,应该和机型没有关系,但是debug运行出来 点击就能跳转


#6

该问题正在分析中,你若使用极光的 demo 进行 release 打包后是否也是这样的情况呢?


(Kirk Wang) #9

demo还是ec的项目,怎么不更新下,打都打不开,报这个错
Error:Could not determine the class-path for interface com.android.builder.model.AndroidProject


#10

在 AS 里面使用导入 module 的方法导入 demo
https://docs.jiguang.cn/jpush/client/Android/android_3m/#example-android-studio


(Kirk Wang) #11

一样的结果,还是报这个错,之前用这个方式试过了,先看我们的推送问题吧,需要我这边怎么配合下,项目都上线了,收到推送打不开,这个问题比较急,麻烦尽快帮忙确认下什么原因


(Kirk Wang) #12

您好,有其他开发者遇到我这个情况吗?我现在怎么处理这个


#13

debug 可以,打包后不行的这种情况,暂时并没有接到其他用户有类似的反馈。

你使用 demo 复现到的 log 也提供一下呢?log 不做筛选


(Kirk Wang) #14

我试了小米6,小米note3,华为P20,都是debug能收到,能打开,签名打包后只能收到推送,点击打不开


(Kirk Wang) #15

你们的demo运行不了


#16

你直接在官网控制台-应用信息-推送设置-Android-扫码下载 apk 安装测试 demo看下


(Kirk Wang) #17

收到通知时的LOG:

06-25 15:29:15.242 25696-25738/com.jisu.sports:mult D/JIGUANG-JPush: [JPushDataAction] response:[MessagePush] - msgType:0, msgId:2560043277, msgContent:com.jisu.sports
    895e81499efc24ca558d29e0
    {"ad_id":"2560043277","m_content":{"ad_t":0,"n_alert_type":7,"n_category":"","n_content":"极速体育APP,坚持你的热爱!","n_extras":{},"n_flag":1,"n_priority":0,"n_style":0,"n_title":""},"n_builder_id":0,"n_only":1,"show_type":4} - JResponse{code=0}
06-25 15:29:15.280 25696-25738/com.jisu.sports:mult D/JIGUANG-JCore: [NetworkingClient] Received bytes - len:324, connection:850, pkg:com.jisu.sports
06-25 15:29:15.281 25696-25738/com.jisu.sports:mult D/JIGUANG-JCore: [NetworkingClient] Network listening...
06-25 15:29:15.301 568-568/? E/SELinux: avc:  denied  { find } for service=miui.shell pid=11983 uid=10006 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:shelld_service:s0 tclass=service_manager
06-25 15:29:15.302 11983-21096/? I/ServiceManager: Waiting for service miui.shell...
06-25 15:29:15.312 25696-25846/com.jisu.sports:mult D/JIGUANG-JPush: [NotificationHelper] running flag:false
06-25 15:29:15.353 2566-2566/? D/StatusBar: addNotification key=0|com.jisu.sports|184943109|null|10387
06-25 15:29:15.362 25696-25846/com.jisu.sports:mult D/JIGUANG-JPush: [NotificationHelper] Send push received broadcast to developer defined receiver
06-25 15:29:15.369 25666-25666/com.jisu.sports D/JIGUANG-Example: [MyReceiver] onReceive - cn.jpush.android.intent.NOTIFICATION_RECEIVED, extras: 
    key:cn.jpush.android.ALERT, value:极速体育APP,坚持你的热爱!
    key:cn.jpush.android.NOTIFICATION_ID, value:184943109
    key:cn.jpush.android.ALERT_TYPE, value:7
    key:cn.jpush.android.NOTIFICATION_CONTENT_TITLE, value:JPush SDK Demo
    key:cn.jpush.android.MSG_ID, value:2560043277
    [MyReceiver] 接收到推送下来的通知
    [MyReceiver] 接收到推送下来的通知的ID: 184943109
06-25 15:29:15.417 25696-25743/com.jisu.sports:mult D/JIGUANG-JCore: [HttpHelper] status code:200 retry left:2
06-25 15:29:15.434 1586-3407/? W/ActivityManager: Sending non-protected broadcast android.intent.action.APPLICATION_MESSAGE_UPDATE from system 2566:com.android.systemui/1000 pkg com.android.systemui. Callers=
    Sending non-protected broadcast android.intent.action.APPLICATION_MESSAGE_UPDATE from system 2566:com.android.systemui/1000 pkg com.android.systemui. Callers=
06-25 15:29:15.435 3454-3454/? I/Launcher.ApplicationsMessage: onReceive true
    update com.jisu.sports/ to 1
06-25 15:29:15.440 2566-2566/? W/View: requestLayout() improperly called by android.widget.DateTimeView{50115c V.ED..... ......ID 761,5-821,47 #1020345 android:id/notification_time} during layout: running second layout pass
06-25 15:29:15.441 2566-2566/? W/View: requestLayout() improperly called by android.widget.DateTimeView{f994818 V.ED..... ......ID 761,5-821,47 #1020345 android:id/notification_time} during layout: running second layout pass
06-25 15:29:15.516 25696-25743/com.jisu.sports:mult D/JIGUANG-JCore: [HttpHelper] status code:200 retry left:2
06-25 15:29:16.338 568-568/? E/SELinux: avc:  denied  { find } for service=miui.shell pid=11983 uid=10006 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:shelld_service:s0 tclass=service_manager
06-25 15:29:16.339 11983-21096/? I/ServiceManager: Waiting for service miui.shell...
06-25 15:29:17.156 18169-18191/? I/DatabaseUtil: writeApplyOperatorDetailInfo
06-25 15:29:17.260 924-1093/? I/ThermalEngine: handle_thresh_sig: HIS Id HISTORY-XO Sensor xo_therm Temp 31000
06-25 15:29:17.378 568-568/? E/SELinux: avc:  denied  { find } for service=miui.shell pid=11983 uid=10006 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:shelld_service:s0 tclass=service_manager
06-25 15:29:17.379 11983-21096/? I/ServiceManager: Waiting for service miui.shell...
06-25 15:29:18.421 568-568/? E/SELinux: avc:  denied  { find } for service=miui.shell pid=11983 uid=10006 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:shelld_service:s0 tclass=service_manager
06-25 15:29:18.422 11983-21096/? I/ServiceManager: Waiting for service miui.shell...
06-25 15:29:19.432 568-568/? E/SELinux: avc:  denied  { find } for service=miui.shell pid=11983 uid=10006 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:shelld_service:s0 tclass=service_manager
06-25 15:29:19.433 11983-21096/? E/ShellServiceJni: Can't obtain ShellService
06-25 15:29:19.953 568-568/? E/SELinux: avc:  denied  { find } for service=miui.shell pid=11983 uid=10006 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:shelld_service:s0 tclass=service_manager
06-25 15:29:19.954 11983-21096/? I/ServiceManager: Waiting for service miui.shell...
06-25 15:29:20.996 568-568/? E/SELinux: avc:  denied  { find } for service=miui.shell pid=11983 uid=10006 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:shelld_service:s0 tclass=service_manager
06-25 15:29:20.997 11983-21096/? I/ServiceManager: Waiting for service miui.shell...
06-25 15:29:21.177 23114-23114/? E/scan2: MSG_SCAN_WIFI
06-25 15:29:21.273 924-1093/? I/ThermalEngine: handle_thresh_sig: HIS Id HISTORY-XO Sensor xo_therm Temp 30000
06-25 15:29:22.029 568-568/? E/SELinux: avc:  denied  { find } for service=miui.shell pid=11983 uid=10006 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:shelld_service:s0 tclass=service_manager
06-25 15:29:22.030 11983-21096/? I/ServiceManager: Waiting for service miui.shell...
06-25 15:29:22.742 24400-24520/? I/zygote: Deoptimizing void io.a.g.g.l.run() due to JIT inline cache
06-25 15:29:23.073 568-568/? E/SELinux: avc:  denied  { find } for service=miui.shell pid=11983 uid=10006 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:shelld_service:s0 tclass=service_manager
06-25 15:29:23.074 11983-21096/? I/ServiceManager: Waiting for service miui.shell...
06-25 15:29:24.085 568-568/? E/SELinux: avc:  denied  { find } for service=miui.shell pid=11983 uid=10006 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:shelld_service:s0 tclass=service_manager
06-25 15:29:24.086 11983-21096/? E/ShellServiceJni: Can't obtain ShellService
06-25 15:29:24.622 568-568/? E/SELinux: avc:  denied  { find } for service=miui.shell pid=11983 uid=10006 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:shelld_service:s0 tclass=service_manager
06-25 15:29:24.623 11983-21096/? I/ServiceManager: Waiting for service miui.shell...
打开后的日志:
06-25 15:30:01.244 568-568/? E/SELinux: avc:  denied  { find } for service=miui.shell pid=11983 uid=10006 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:shelld_service:s0 tclass=service_manager
06-25 15:30:01.246 11983-21096/? E/ShellServiceJni: Can't obtain ShellService
06-25 15:30:01.305 2566-2566/? D/KeyguardUpdateMonitor: received broadcast android.intent.action.BATTERY_CHANGED
    handleBatteryUpdate
06-25 15:30:01.307 2521-3085/? D/HeadsetStateMachine: Disconnected process message: 10, size: 0
    Enter processIntentBatteryChanged()
06-25 15:30:01.307 2742-2742/? D/QtiCarrierConfigHelper: WARNING, no carrier configs on phone Id: 0
06-25 15:30:01.307 2521-3085/? D/HeadsetStateMachine: Exit processIntentBatteryChanged()
    Exit Disconnected processMessage() 
06-25 15:30:01.309 3931-4358/? D/PowerCheckerService: onBatteryChanged, mBatteryLevel = 100, status = 5, level = 100, plug = 2
06-25 15:30:01.310 4731-4731/? I/BatteryInfoReceiver: ACTION_BATTERY_CHANGED
06-25 15:30:01.314 23114-23114/? E/scan2: MSG_SCAN_WIFI
06-25 15:30:01.403 960-3727/? I/LocSvc_libulp: ulp_msg_process_system_update: systemEvent:5 
    ulp_msg_process_start_req, at ulp state = 1
06-25 15:30:01.404 960-2671/? I/LocSvc_api_v02: ---> locClientSendReq line 2102 QMI_LOC_GET_BEST_AVAILABLE_POSITION_REQ_V02
06-25 15:30:01.407 960-2679/? I/LocSvc_ApiV02: <--- globalRespCb line 141 QMI_LOC_GET_BEST_AVAILABLE_POSITION_REQ_V02
06-25 15:30:01.407 960-3727/? I/LocSvc_libulp: ulp_brain_process_zpp_position_report, report ZPP position to providers,report_position = 1
06-25 15:30:01.512 2566-2610/? W/zygote: Checksum mismatch for dex MiuiSystemUI.apk
    Checksum mismatch for dex MiuiSystemUI.apk
06-25 15:30:01.514 2566-2610/? W/zygote: Checksum mismatch for dex MiuiContentCatcher.apk
06-25 15:30:01.535 2566-25894/? D/FreeformWindow: isLaunchMultiWindow:false gameKey:0
06-25 15:30:01.542 25666-25666/com.jisu.sports D/JIGUANG-JCore: [PushReceiver] onReceive - cn.jpush.android.intent.NOTIFICATION_OPENED_PROXY.535de34e-d1ff-48d2-874e-5f23dc14e12d
06-25 15:30:01.542 1586-4036/? D/systemui_boost: notification panel visible=false
    ui thread tid=2566
    render thread tid=2892
06-25 15:30:01.545 1586-4036/? D/systemui_boost: thread tid=2566, priority is set to -10
06-25 15:30:01.546 1586-4036/? D/systemui_boost: thread tid=2892, priority is set to -10
    ui thread and render thread are reset
06-25 15:30:01.546 25666-25895/com.jisu.sports D/JIGUANG-JPush: [PushReceiverCore] onReceive - cn.jpush.android.intent.NOTIFICATION_OPENED_PROXY.535de34e-d1ff-48d2-874e-5f23dc14e12d
06-25 15:30:01.581 25666-25666/com.jisu.sports D/JIGUANG-Example: [MyReceiver] onReceive - cn.jpush.android.intent.NOTIFICATION_OPENED, extras: 
    key:cn.jpush.android.NOTIFICATION_TYPE, value:0
    key:app, value:com.jisu.sports
    key:cn.jpush.android.ALERT, value:极速体育APP,坚持你的热爱!
    key:cn.jpush.android.NOTIFICATION_ID, value:184943109
    key:cn.jpush.android.ALERT_TYPE, value:7
    key:cn.jpush.android.NOTIFICATION_CONTENT_TITLE, value:JPush SDK Demo
    key:cn.jpush.android.MSG_ID, value:2560043277
    key:sdktype, value:JPUSH
    [MyReceiver] 用户点击打开了通知
    
    --------- beginning of system
06-25 15:30:01.581 25666-25666/com.jisu.sports I/Timeline: Timeline: Activity_launch_request time:27279921
06-25 15:30:01.583 1586-3407/? I/ActivityManager: START u0 {flg=0x14000000 cmp=com.jisu.sports/com.example.jpushdemo.TestActivity (has extras)} from uid 10387
06-25 15:30:01.587 1586-3407/? D/ActivityTrigger: activityStartTrigger: Activity is Triggerred in full screen ApplicationInfo{442dcd8 com.jisu.sports}
06-25 15:30:01.587 1586-3407/? E/ActivityTrigger: activityStartTrigger: not whiteListedcom.jisu.sports/com.example.jpushdemo.TestActivity/313
06-25 15:30:01.588 2566-2566/? D/StatusBar: removeNotification key=0|com.jisu.sports|184943109|null|10387 old=StatusBarNotification(pkg=com.jisu.sports user=UserHandle{0} id=184943109 tag=null key=0|com.jisu.sports|184943109|null|10387: Notification(channel=null pri=0 contentView=null vibrate=default sound=default tick defaults=0x7 flags=0x11 color=0x00000000 vis=PRIVATE))
06-25 15:30:01.589 1586-3407/? D/ActivityTrigger: activityResumeTrigger: The activity in ApplicationInfo{442dcd8 com.jisu.sports} is now in focus and seems to be in full-screen mode
06-25 15:30:01.589 1586-3407/? E/ActivityTrigger: activityResumeTrigger: not whiteListedcom.jisu.sports/com.example.jpushdemo.TestActivity/313
06-25 15:30:01.589 1586-3407/? D/ActivityTrigger: ActivityTrigger activityPauseTrigger 
06-25 15:30:01.602 1586-11540/? W/ActivityManager: Sending non-protected broadcast android.intent.action.APPLICATION_MESSAGE_UPDATE from system 2566:com.android.systemui/1000 pkg com.android.systemui. Callers=
    Sending non-protected broadcast android.intent.action.APPLICATION_MESSAGE_UPDATE from system 2566:com.android.systemui/1000 pkg com.android.systemui. Callers=
06-25 15:30:01.602 3454-3454/? I/Launcher.ApplicationsMessage: onReceive true
    update com.jisu.sports/ to null
06-25 15:30:01.603 1586-3407/? D/ActivityTrigger: activityResumeTrigger: The activity in ApplicationInfo{442dcd8 com.jisu.sports} is now in focus and seems to be in full-screen mode
06-25 15:30:01.603 1586-3407/? E/ActivityTrigger: activityResumeTrigger: not whiteListedcom.jisu.sports/com.example.jpushdemo.TestActivity/313
06-25 15:30:01.605 3334-3521/? I/WtProcessController: MOVE TO FOREGROUND: com.jisu.sports 10387
    FOREGROUND INFO: name=com.jisu.sports uid=10387 pid=25666 TaskId:6846
06-25 15:30:01.607 1586-3407/? I/Timeline: Timeline: App_transition_ready time:27279947
06-25 15:30:01.644 1586-11540/? I/Timeline: Timeline: App_transition_ready time:27279984
06-25 15:30:01.646 1586-11540/? I/Timeline: Timeline: App_transition_ready time:27279986
06-25 15:30:01.653 762-874/? E/ANDR-PERF-REQUEST: Failed to set timer
06-25 15:30:01.654 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=1.000000
06-25 15:30:01.664 1586-2220/? I/Timeline: Timeline: App_transition_ready time:27280004
06-25 15:30:01.665 2566-2566/? D/StatusBar: disable<e i a s b h r c s q >
06-25 15:30:01.667 1586-1689/? I/ActivityManager: Displayed com.jisu.sports/com.example.jpushdemo.TestActivity: +60ms
06-25 15:30:01.667 1586-1689/? E/ANDR-PERF-JNI: com_qualcomm_qtiperformance_native_perf_io_prefetch_start
06-25 15:30:01.667 3334-3521/? I/WtEventController: AM_Launch: 30009 TAG: 840704
    AM_Launch: 30009 TAG: 239299583
06-25 15:30:01.667 761-761/? E/ANDR-IOP: IOP HAL: Received pkg_name = com.jisu.sports pid = 25666
06-25 15:30:01.667 3334-3521/? I/WtEventController: AM_Launch: 30009 TAG: 239299583
    AM_Launch: 30009 TAG: 402678369
06-25 15:30:01.667 761-761/? E/ANDR-IOP: event data pool ran empty
06-25 15:30:01.673 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=1.000000
06-25 15:30:01.673 2566-2566/? V/StackScroller: on dismiss animation requested
06-25 15:30:01.673 2566-2566/? I/chatty: uid=1000(system) com.android.systemui identical 7 lines
06-25 15:30:01.673 2566-2566/? V/StackScroller: on dismiss animation requested
06-25 15:30:01.676 2566-2566/? D/StatusBar: disable<e i a s b h r c s q >
06-25 15:30:01.690 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=1.000000
06-25 15:30:01.722 2566-2566/? I/chatty: uid=1000(system) com.android.systemui identical 2 lines
06-25 15:30:01.739 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=1.000000
06-25 15:30:01.739 2566-2566/? V/StackScroller: on dismiss animation requested
06-25 15:30:01.755 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=1.000000
06-25 15:30:01.757 568-568/? E/SELinux: avc:  denied  { find } for service=miui.shell pid=11983 uid=10006 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:shelld_service:s0 tclass=service_manager
06-25 15:30:01.757 11983-21096/? I/ServiceManager: Waiting for service miui.shell...
06-25 15:30:01.772 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=1.000000
06-25 15:30:01.772 2566-2566/? V/StackScroller: on dismiss animation requested
06-25 15:30:01.788 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=1.000000
06-25 15:30:01.789 2566-2566/? V/StackScroller: on dismiss animation requested
06-25 15:30:01.805 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=1.000000
06-25 15:30:01.822 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=1.000000
06-25 15:30:01.822 2566-2566/? V/StackScroller: on dismiss animation requested
06-25 15:30:01.838 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=0.926041
06-25 15:30:01.854 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=0.776079
06-25 15:30:01.871 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=0.656138
06-25 15:30:01.888 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=0.554722
06-25 15:30:01.904 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=0.455276
06-25 15:30:01.920 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=0.379806
06-25 15:30:01.937 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=0.311443
06-25 15:30:01.937 1586-1689/? I/Timeline: Timeline: Activity_windows_visible id: ActivityRecord{c275004 u0 com.jisu.sports/com.example.jpushdemo.TestActivity t6846} time:27280277
06-25 15:30:01.937 1586-1644/? D/ActivityTrigger: ActivityTrigger activityStopTrigger 
06-25 15:30:01.938 2566-2566/? D/EventBus: [2566, u0] send(AppTransitionFinishedEvent)
    [2566, u0]  -> ForcedResizableInfoActivityController [0xe94416a, P1] onBusEvent(AppTransitionFinishedEvent)
    [2566, u0] onBusEvent(AppTransitionFinishedEvent) duration: 12 microseconds, avg: 766
06-25 15:30:01.953 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=0.256935
06-25 15:30:01.955 762-874/? E/ANDR-PERF-OPTSHANDLER: perf_lock_rel: updated /sys/class/scsi_host/host0/../../../clkscale_enable with 1
     return value 2
06-25 15:30:01.970 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=0.207097
06-25 15:30:01.987 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=0.166500
06-25 15:30:01.989 1586-2220/? I/Timeline: Timeline: App_transition_stopped time:27280329
06-25 15:30:01.989 2566-2566/? D/EventBus: [2566, u0] send(AppTransitionFinishedEvent)
    [2566, u0]  -> ForcedResizableInfoActivityController [0xe94416a, P1] onBusEvent(AppTransitionFinishedEvent)
    [2566, u0] onBusEvent(AppTransitionFinishedEvent) duration: 16 microseconds, avg: 766
06-25 15:30:02.003 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=0.128832
06-25 15:30:02.020 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=0.101264
06-25 15:30:02.037 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=0.075211
06-25 15:30:02.052 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=0.054867
06-25 15:30:02.070 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=0.038139
06-25 15:30:02.086 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=0.024325
06-25 15:30:02.102 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=0.014960
06-25 15:30:02.119 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=0.007075
06-25 15:30:02.135 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=0.003588
06-25 15:30:02.152 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=0.000000
06-25 15:30:02.159 2566-2566/? I/chatty: uid=1000(system) com.android.systemui identical 1 line
06-25 15:30:02.169 2566-2566/? V/PanelView: updateStatusBarWindowBlur blurRatio=0.000000
06-25 15:30:02.182 2566-2566/? D/StatusBar: disable<e i a s b h r c s q >
06-25 15:30:02.659 1586-1610/? I/zygote64: Background concurrent copying GC freed 817859(25MB) AllocSpace objects, 90(1848KB) LOS objects, 42% free, 24MB/42MB, paused 427us total 122.755ms
06-25 15:30:02.798 568-568/? E/SELinux: avc:  denied  { find } for service=miui.shell pid=11983 uid=10006 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:shelld_service:s0 tclass=service_manager
06-25 15:30:02.799 11983-21096/? I/ServiceManager: Waiting for service miui.shell...
06-25 15:30:03.395 924-1093/? I/ThermalEngine: handle_thresh_sig: HIS Id HISTORY-XO Sensor xo_therm Temp 31000
06-25 15:30:03.832 568-568/? E/SELinux: avc:  denied  { find } for service=miui.shell pid=11983 uid=10006 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:shelld_service:s0 tclass=service_manager
06-25 15:30:03.833 11983-21096/? I/ServiceManager: Waiting for service miui.shell...

(Kirk Wang) #18

扫码下载 apk 安装测试 demo 是可以打开的,这个是正式的版本吗


(Kirk Wang) #19

收到推送打不开是用API发送的,我在激光后台推只用web推,刚刚在demo推是用的web,APi没有设置根据registerID推


#20

你们 debug 版本到 正式版本,做了哪些操作?区别有哪些?

你在 web 推送给正式版本的自己的项目是否正常呢?

你们给正式版本推送的时候,有没有设置点击跳转所需要的 extra 参数呢?


(Kirk Wang) #21

点击后可以有其它操作的自定义消息吧?
我发普通通知是能收到的,但是发自定义消息是"code":102,“data”:{“id”:241,“type”:1}
打印的LOG:
06-25 16:01:54.120 29441-29441/com.jisu.sports D/JPushReceiver: onReceive - cn.jpush.android.intent.MESSAGE_RECEIVED
接受到推送下来的自定义消息
title : null
message : null
extras :


(Kirk Wang) #22

debug版本只是 用android studio 生成了一个正式包而已,没做其它操作


#23

自定义消息是接收不展示的,点击后是走 notification 的 open 方法获取到 notification 的信息。

点击跳转的处理参考