【发布时间】:2019-05-06 16:00:57
【问题描述】:
我一直在按照本指南尝试通知,https://medium.com/@nitishk72/flutter-local-notification-1e43a353877b,以及颤振本地通知包的主要 API 文档,但我不断收到各种错误,在现代手机上它只振动并且没有弹出通知,在旧设备(模拟器)上,我收到此错误android.app.RemoteServiceException: Bad notification posted from package com.xxx: Couldn't create icon: StatusBarIcon(icon=Icon(typ=RESOURCE pkg=com.xxx id=0x7f040000) visible user=0 ) 有人可以帮忙吗?
我无法在 iOS 设备上进行测试
【问题讨论】: