Not posting notification with icon==0问题解决
Posted zhangmiao14
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Not posting notification with icon==0问题解决相关的知识,希望对你有一定的参考价值。
问题:E/NotificationService: Not posting notification with icon==0: Notification(pri=0 contentView=null vibrate=null sound=null defaults=0x0 flags=0x0 color=0x00000000 vis=PRIVATE)
解决:为Notification添加
.setSmallIcon(R.drawable.icon)
以上是关于Not posting notification with icon==0问题解决的主要内容,如果未能解决你的问题,请参考以下文章
获取不到设备token NSLocalizedDescription=remote notifications are not supported in the simulator
为啥 UIAccessibility.post(notification: .announcement, argument: "arg") 没有通过语音宣布?
(Unity) Aws SNS(Push Notification) Class not found 错误
Your development team, "", does not support the Push Notifications capability.
The content of the adapter has changed but ListView did not receive a notification