小米手机无法收到推送消息,无论是在线还是离线,已经集成厂商通道
小米手机无法收到推送消息,无论是在线还是离线,已经集成厂商通道。
已经按FAQ问题查找原因,无效。
Log 日志查看返回错误 。
2021-12-10 09:15:59.033 31238-31383/com.xxx.app.xxx I/UPush.MsgCallback: processName:com.xxx.app.xxx
2021-12-10 09:15:59.033 31238-31383/com.xxx.app.xxx I/UPush.MsgCallback: action:com.umeng.message.message.handler.action
2021-12-10 09:15:59.035 31238-31383/com.xxx.app.xxx I/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-10 09:15:59.043 31238-31238/com.xxx.app.xxx E/unknown:FabricViewStateManager: setState called without a StateWrapper
2021-12-10 09:15:59.054 31238-31348/com.xxx.app.xxx I/UPush.MessageProvider: notifyChange endTransaction..uri:content://com.xxx.app.xxx.umeng.message/MsgLogStores
2021-12-10 09:15:59.054 31238-31383/com.xxx.app.xxx I/UPush.UmengMessageHandler: playVibrate:0
2021-12-10 09:15:59.055 31238-31383/com.xxx.app.xxx I/UPush.UmengMessageHandler: playLights:0
2021-12-10 09:15:59.055 31238-31383/com.xxx.app.xxx I/UPush.UmengMessageHandler: playSound:0
2021-12-10 09:15:59.060 31238-31383/com.xxx.app.xxx D/UPush.R2: resPackageName:com.xxx.app.xxx
2021-12-10 09:15:59.060 31238-31238/com.xxx.app.xxx E/unknown:FabricViewStateManager: setState called without a StateWrapper
2021-12-10 09:15:59.070 31238-31383/com.xxx.app.xxx W/UPush.R2: getRes(com.xxx.app.xxx.R$raw, umeng_push_notification_default_sound) failed!
2021-12-10 09:15:59.077 31238-31238/com.xxx.app.xxx E/unknown:FabricViewStateManager: setState called without a StateWrapper
2021-12-10 09:15:59.085 1401-31788/? E/ResolverController: No valid NAT64 prefix (102, <unspecified>/0)
2021-12-10 09:15:59.085 2529-2529/? D/NavBarTintController: onSampleCollected 1.0
2021-12-10 09:15:59.088 4127-4656/? W/Bundle: Key MESSAGE_ID expected IBinder but value was a java.lang.String. The default value <null> was returned.
2021-12-10 09:15:59.088 4127-4656/? W/Bundle: Attempt to cast generated internal exception:
java.lang.ClassCastException: java.lang.String cannot be cast to android.os.IBinder
at android.os.Bundle.getBinder(Bundle.java:1184)
at miui.notification.aggregation.db.PendingIntentFake.<init>(AggregateDb.kt:11)
at miui.notification.aggregation.db.NotificationFake.<init>(AggregateDb.kt:19)
at d.a.a.a.s.<init>(AggregateDb.kt:9)
at d.a.a.d.a(NotificationAggregateListener.kt:28)
at com.miui.notification.NotificationListener.a(NotificationListener.java:14)
at b.d.c.d.run(Unknown Source:4)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:224)
at android.os.HandlerThread.run(HandlerThread.java:67)
2021-12-10 09:15:59.088 4127-4656/? W/Bundle: Key NOTIFICATION_ID expected IBinder but value was a java.lang.Integer. The default value <null> was returned.
2021-12-10 09:15:59.088 4127-4656/? W/Bundle: Attempt to cast generated internal exception:
java.lang.ClassCastException: java.lang.Integer cannot be cast to android.os.IBinder
at android.os.Bundle.getBinder(Bundle.java:1184)
at miui.notification.aggregation.db.PendingIntentFake.<init>(AggregateDb.kt:11)
at miui.notification.aggregation.db.NotificationFake.<init>(AggregateDb.kt:19)
at d.a.a.a.s.<init>(AggregateDb.kt:9)
at d.a.a.d.a(NotificationAggregateListener.kt:28)
at com.miui.notification.NotificationListener.a(NotificationListener.java:14)
at b.d.c.d.run(Unknown Source:4)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:224)
at android.os.HandlerThread.run(HandlerThread.java:67)
2021-12-10 09:15:59.089 4127-4656/? W/Bundle: Key MSG expected IBinder but value was a java.lang.String. The default value <null> was returned.
2021-12-10 09:15:59.090 4127-4656/? W/Bundle: Attempt to cast generated internal exception:
java.lang.ClassCastException: java.lang.String cannot be cast to android.os.IBinder
at android.os.Bundle.getBinder(Bundle.java:1184)
at miui.notification.aggregation.db.PendingIntentFake.<init>(AggregateDb.kt:11)
at miui.notification.aggregation.db.NotificationFake.<init>(AggregateDb.kt:19)
at d.a.a.a.s.<init>(AggregateDb.kt:9)
at d.a.a.d.a(NotificationAggregateListener.kt:28)
at com.miui.notification.NotificationListener.a(NotificationListener.java:14)
at b.d.c.d.run(Unknown Source:4)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:224)
at android.os.HandlerThread.run(HandlerThread.java:67)
2021-12-10 09:15:59.090 4127-4656/? W/Bundle: Key ACTION expected IBinder but value was a java.lang.Integer. The default value <null> was returned.
2021-12-10 09:15:59.090 4127-4656/? W/Bundle: Attempt to cast generated internal exception:
java.lang.ClassCastException: java.lang.Integer cannot be cast to android.os.IBinder
at android.os.Bundle.getBinder(Bundle.java:1184)
at miui.notification.aggregation.db.PendingIntentFake.<init>(AggregateDb.kt:11)
at miui.notification.aggregation.db.NotificationFake.<init>(AggregateDb.kt:19)
at d.a.a.a.s.<init>(AggregateDb.kt:9)
at d.a.a.d.a(NotificationAggregateListener.kt:28)
at com.miui.notification.NotificationListener.a(NotificationListener.java:14)
at b.d.c.d.run(Unknown Source:4)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:224)
at android.os.HandlerThread.run(HandlerThread.java:67)
2021-12-10 09:15:59.091 31238-31383/com.xxx.app.xxx I/PushHelper: notification receiver:{"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-10 09:15:59.091 4127-4656/? W/Bundle: Key MESSAGE_ID expected IBinder but value was a java.lang.String. The default value <null> was returned.
2021-12-10 09:15:59.092 4127-4656/? W/Bundle: Attempt to cast generated internal exception:
java.lang.ClassCastException: java.lang.String cannot be cast to android.os.IBinder
at android.os.Bundle.getBinder(Bundle.java:1184)
at miui.notification.aggregation.db.PendingIntentFake.<init>(AggregateDb.kt:11)
at miui.notification.aggregation.db.NotificationFake.<init>(AggregateDb.kt:20)
at d.a.a.a.s.<init>(AggregateDb.kt:9)
at d.a.a.d.a(NotificationAggregateListener.kt:28)
at com.miui.notification.NotificationListener.a(NotificationListener.java:14)
at b.d.c.d.run(Unknown Source:4)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:224)
at android.os.HandlerThread.run(HandlerThread.java:67)
2021-12-10 09:15:59.092 578-578/? E/SELinux: avc: denied { find } for interface=vendor.qti.hardware.servicetracker::IServicetracker sid=u:r:system_server:s0 pid=1996 scontext=u:r:system_server:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0
2021-12-10 09:15:59.092 4127-4656/? W/Bundle: Key NOTIFICATION_ID expected IBinder but value was a java.lang.Integer. The default value <null> was returned.
2021-12-10 09:15:59.092 4127-4656/? W/Bundle: Attempt to cast generated internal exception:
java.lang.ClassCastException: java.lang.Integer cannot be cast to android.os.IBinder
at android.os.Bundle.getBinder(Bundle.java:1184)
at miui.notification.aggregation.db.PendingIntentFake.<init>(AggregateDb.kt:11)
at miui.notification.aggregation.db.NotificationFake.<init>(AggregateDb.kt:20)
at d.a.a.a.s.<init>(AggregateDb.kt:9)
at d.a.a.d.a(NotificationAggregateListener.kt:28)
at com.miui.notification.NotificationListener.a(NotificationListener.java:14)
at b.d.c.d.run(Unknown Source:4)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:224)
at android.os.HandlerThread.run(HandlerThread.java:67)
2021-12-10 09:15:59.093 4127-4656/? W/Bundle: Key MSG expected IBinder but value was a java.lang.String. The default value <null> was returned.
2021-12-10 09:15:59.093 4127-4656/? W/Bundle: Attempt to cast generated internal exception:
java.lang.ClassCastException: java.lang.String cannot be cast to android.os.IBinder
at android.os.Bundle.getBinder(Bundle.java:1184)
at miui.notification.aggregation.db.PendingIntentFake.<init>(AggregateDb.kt:11)
at miui.notification.aggregation.db.NotificationFake.<init>(AggregateDb.kt:20)
at d.a.a.a.s.<init>(AggregateDb.kt:9)
at d.a.a.d.a(NotificationAggregateListener.kt:28)
at com.miui.notification.NotificationListener.a(NotificationListener.java:14)
at b.d.c.d.run(Unknown Source:4)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:224)
at android.os.HandlerThread.run(HandlerThread.java:67)
2021-12-10 09:15:59.093 31238-31238/com.xxx.app.xxx E/unknown:FabricViewStateManager: setState called without a StateWrapper
2021-12-10 09:15:59.094 4127-4656/? W/Bundle: Key ACTION expected IBinder but value was a java.lang.Integer. The default value <null> was returned.
2021-12-10 09:15:59.094 4127-4656/? W/Bundle: Attempt to cast generated internal exception:
java.lang.ClassCastException: java.lang.Integer cannot be cast to android.os.IBinder
at android.os.Bundle.getBinder(Bundle.java:1184)
at miui.notification.aggregation.db.PendingIntentFake.<init>(AggregateDb.kt:11)
at miui.notification.aggregation.db.NotificationFake.<init>(AggregateDb.kt:20)
at d.a.a.a.s.<init>(AggregateDb.kt:9)
at d.a.a.d.a(NotificationAggregateListener.kt:28)
at com.miui.notification.NotificationListener.a(NotificationListener.java:14)
at b.d.c.d.run(Unknown Source:4)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:224)
at android.os.HandlerThread.run(HandlerThread.java:67)
2021-12-10 09:15:59.094 578-578/? E/SELinux: avc: denied { find } for interface=vendor.qti.hardware.servicetracker::IServicetracker sid=u:r:system_server:s0 pid=1996 scontext=u:r:system_server:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0
2021-12-10 09:15:59.110 31238-31238/com.xxx.app.xxx E/unknown:FabricViewStateManager: setState called without a StateWrapper
2021-12-10 09:15:59.177 1996-1996/? I/NotificationService: notification blocked by assistant request
2021-12-10 09:15:59.161 31238-31238/com.xxx.app.xxx I/chatty: uid=10238(com.xxx.app.xxx) identical 3 lines
2021-12-10 09:15:59.178 31238-31238/com.xxx.app.xxx E/unknown:FabricViewStateManager: setState called without a StateWrapper
2021-12-10 09:15:59.185 2529-2529/? D/NavBarTintController: onSampleCollected 1.0
2021-12-10 09:15:59.238 4133-4170/? W/Parcel: **** enforceInterface() expected 'com.miui.gamebooster.service.ISecurityCenterNotificationListener' but read 'android.service.notification.INotificationListener'
2021-12-10 09:15:59.239 4133-4170/? W/Binder: Caught a RuntimeException from the binder stub implementation.
java.lang.SecurityException: Binder invocation to an incorrect interface
at android.os.Parcel.nativeEnforceInterface(Native Method)
at android.os.Parcel.enforceInterface(Parcel.java:626)
at com.miui.gamebooster.service.ISecurityCenterNotificationListener$Stub.onTransact(Unknown Source:22)
at android.os.Binder.execTransactInternal(Binder.java:1021)
at android.os.Binder.execTransact(Binder.java:994)
2021-12-10 09:15:59.241 2529-2529/? D/StatusBar: onNotificationPosted key=0|com.miui.notification|2012875145|UNIMPORTANT|1000 isUpdate=true
2021-12-10 09:15:59.242 2529-2529/? D/StatusBar: updateNotification old=StatusBarNotification(pkg=com.miui.notification user=UserHandle{0} id=2012875145 tag=UNIMPORTANT key=0|com.miui.notification|2012875145|UNIMPORTANT|1000: Notification(channel=id_aggregate pri=0 contentView=com.miui.notification/0x7f0d0024 vibrate=null sound=null defaults=0x0 flags=0x0 color=0x00000000 vis=PRIVATE))
pkgName=com.miui.notification appUid=1000 sdk=29 imp=3 sysApp=T priApp=F hasShown=T float=F keyguard=F peek=F fullscreen=F
showMiuiAction=F enableFloat=T enableKeyguard=F floatTime=5000 messageCount=1 persistent=T customHeight=T customHideBorder=F