小米手机无法收到推送消息,无论是在线还是离线,已经集成厂商通道。
已经按FAQ问题查找原因,无效。
Log日志查看返回错误。
2021-12-1009:15:59.03331238-31383/com.xxx.app.xxxI/UPush.MsgCallback:processName:com.xxx.app.xxx
2021-12-1009:15:59.03331238-31383/com.xxx.app.xxxI/UPush.MsgCallback:action:com.umeng.message.message.handler.action
2021-12-1009:15:59.03531238-31383/com.xxx.app.xxxI/UPush.UmengMessageHandler:notify:{"display_type":"notification","extra":{"params":"id=2169","routeName":"GoodsDetail"},"body":{"after_open":"go_app","ticker":"Hi,小米你能收到消息吗","title":"Hi,小米你能收到消息吗","play_sound":"true","text":"小米不知道怎么了一直收不到消息。"},"msg_id":"uuz5334163909895778810"}
2021-12-1009:15:59.04331238-31238/com.xxx.app.xxxE/unknown:FabricViewStateManager:setStatecalledwithoutaStateWrapper
2021-12-1009:15:59.05431238-31348/com.xxx.app.xxxI/UPush.MessageProvider:notifyChangeendTransaction..uri:content://com.xxx.app.xxx.umeng.message/MsgLogStores
2021-12-1009:15:59.05431238-31383/com.xxx.app.xxxI/UPush.UmengMessageHandler:playVibrate:0
2021-12-1009:15:59.05531238-31383/com.xxx.app.xxxI/UPush.UmengMessageHandler:playLights:0
2021-12-1009:15:59.05531238-31383/com.xxx.app.xxxI/UPush.UmengMessageHandler:playSound:0
2021-12-1009:15:59.06031238-31383/com.xxx.app.xxxD/UPush.R2:resPackageName:com.xxx.app.xxx
2021-12-1009:15:59.06031238-31238/com.xxx.app.xxxE/unknown:FabricViewStateManager:setStatecalledwithoutaStateWrapper
2021-12-1009:15:59.07031238-31383/com.xxx.app.xxxW/UPush.R2:getRes(com.xxx.app.xxx.R$raw,umeng_push_notification_default_sound)failed!
2021-12-1009:15:59.07731238-31238/com.xxx.app.xxxE/unknown:FabricViewStateManager:setStatecalledwithoutaStateWrapper
2021-12-1009:15:59.0851401-31788/E/ResolverController:NovalidNAT64prefix(102,
2021-12-1009:15:59.0852529-2529/D/NavBarTintController:onSampleCollected1.0
2021-12-1009:15:59.0884127-4656/W/Bundle:KeyMESSAGE_IDexpectedIBinderbutvaluewasajava.lang.String.Thedefaultvalue
2021-12-1009:15:59.0884127-4656/W/Bundle:Attempttocastgeneratedinternalexception:
java.lang.ClassCastException:java.lang.Stringcannotbecasttoandroid.os.IBinder
atandroid.os.Bundle.getBinder(Bundle.java:1184)
atmiui.notification.aggregation.db.PendingIntentFake.
atmiui.notification.aggregation.db.NotificationFake.
atd.a.a.a.s.
atd.a.a.d.a(NotificationAggregateListener.kt:28)
atcom.miui.notification.NotificationListener.a(NotificationListener.java:14)
atb.d.c.d.run(UnknownSource:4)
atandroid.os.Handler.handleCallback(Handler.java:883)
atandroid.os.Handler.dispatchMessage(Handler.java:100)
atandroid.os.Looper.loop(Looper.java:224)
atandroid.os.HandlerThread.run(HandlerThread.java:67)
2021-12-1009:15:59.0884127-4656/W/Bundle:KeyNOTIFICATION_IDexpectedIBinderbutvaluewasajava.lang.Integer.Thedefaultvalue
java.lang.ClassCastException:java.lang.Integercannotbecasttoandroid.os.IBinder
2021-12-1009:15:59.0894127-4656/W/Bundle:KeyMSGexpectedIBinderbutvaluewasajava.lang.String.Thedefaultvalue
2021-12-1009:15:59.0904127-4656/W/Bundle:Attempttocastgeneratedinternalexception:
2021-12-1009:15:59.0904127-4656/W/Bundle:KeyACTIONexpectedIBinderbutvaluewasajava.lang.Integer.Thedefaultvalue
2021-12-1009:15:59.09131238-31383/com.xxx.app.xxxI/PushHelper:notificationreceiver:{"display_type":"notification","extra":{"params":"id=2169","routeName":"GoodsDetail"},"body":{"after_open":"go_app","ticker":"Hi,小米你能收到消息吗","title":"Hi,小米你能收到消息吗","play_sound":"true","text":"小米不知道怎么了一直收不到消息。"},"msg_id":"uuz5334163909895778810"}
2021-12-1009:15:59.0914127-4656/W/Bundle:KeyMESSAGE_IDexpectedIBinderbutvaluewasajava.lang.String.Thedefaultvalue
2021-12-1009:15:59.0924127-4656/W/Bundle:Attempttocastgeneratedinternalexception:
atmiui.notification.aggregation.db.NotificationFake.
2021-12-1009:15:59.092578-578/E/SELinux:avc:denied{find}forinterface=vendor.qti.hardware.servicetracker::IServicetrackersid=u:r:system_server:s0pid=1996scontext=u:r:system_server:s0tcontext=u:object_r:default_android_hwservice:s0tclass=hwservice_managerpermissive=0
2021-12-1009:15:59.0924127-4656/W/Bundle:KeyNOTIFICATION_IDexpectedIBinderbutvaluewasajava.lang.Integer.Thedefaultvalue
2021-12-1009:15:59.0934127-4656/W/Bundle:KeyMSGexpectedIBinderbutvaluewasajava.lang.String.Thedefaultvalue
2021-12-1009:15:59.0934127-4656/W/Bundle:Attempttocastgeneratedinternalexception:
2021-12-1009:15:59.09331238-31238/com.xxx.app.xxxE/unknown:FabricViewStateManager:setStatecalledwithoutaStateWrapper
2021-12-1009:15:59.0944127-4656/W/Bundle:KeyACTIONexpectedIBinderbutvaluewasajava.lang.Integer.Thedefaultvalue
2021-12-1009:15:59.0944127-4656/W/Bundle:Attempttocastgeneratedinternalexception:
2021-12-1009:15:59.094578-578/E/SELinux:avc:denied{find}forinterface=vendor.qti.hardware.servicetracker::IServicetrackersid=u:r:system_server:s0pid=1996scontext=u:r:system_server:s0tcontext=u:object_r:default_android_hwservice:s0tclass=hwservice_managerpermissive=0
2021-12-1009:15:59.11031238-31238/com.xxx.app.xxxE/unknown:FabricViewStateManager:setStatecalledwithoutaStateWrapper
2021-12-1009:15:59.1771996-1996/I/NotificationService:notificationblockedbyassistantrequest
2021-12-1009:15:59.16131238-31238/com.xxx.app.xxxI/chatty:uid=10238(com.xxx.app.xxx)identical3lines
2021-12-1009:15:59.17831238-31238/com.xxx.app.xxxE/unknown:FabricViewStateManager:setStatecalledwithoutaStateWrapper
2021-12-1009:15:59.1852529-2529/D/NavBarTintController:onSampleCollected1.0
2021-12-1009:15:59.2394133-4170/W/Binder:CaughtaRuntimeExceptionfromthebinderstubimplementation.
java.lang.SecurityException:Binderinvocationtoanincorrectinterface
atandroid.os.Parcel.nativeEnforceInterface(NativeMethod)
atandroid.os.Parcel.enforceInterface(Parcel.java:626)
atcom.miui.gamebooster.service.ISecurityCenterNotificationListener$Stub.onTransact(UnknownSource:22)
atandroid.os.Binder.execTransactInternal(Binder.java:1021)
atandroid.os.Binder.execTransact(Binder.java:994)
2021-12-1009:15:59.2412529-2529/D/StatusBar:onNotificationPostedkey=0|com.miui.notification|2012875145|UNIMPORTANT|1000isUpdate=true
2021-12-1009:15:59.2422529-2529/D/StatusBar:updateNotificationold=StatusBarNotification(pkg=com.miui.notificationuser=UserHandle{0}id=2012875145tag=UNIMPORTANTkey=0|com.miui.notification|2012875145|UNIMPORTANT|1000:Notification(channel=id_aggregatepri=0contentView=com.miui.notification/0x7f0d0024vibrate=nullsound=nulldefaults=0x0flags=0x0color=0x00000000vis=PRIVATE))
pkgName=com.miui.notificationappUid=1000sdk=29imp=3sysApp=TpriApp=FhasShown=Tfloat=Fkeyguard=Fpeek=Ffullscreen=F
showMiuiAction=FenableFloat=TenableKeyguard=FfloatTime=5000messageCount=1persistent=TcustomHeight=TcustomHideBorder=F