Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经在几个应用程序中使用了这个包。始终使用一个隔离版本。
在 iOS 上,我看到这个包在控制中心成功注册了音频,但在 Android 上,我再也看不到控制按钮了。只有关于该应用程序在后台运行的通知。我错过了设置中的某些内容还是错误?
当我启动服务时,我用不正确的值覆盖了 androidNotificationIcon。
androidNotificationIcon: 'mipmap/launcher_icon'
可能是因为我从以前的应用程序中复制粘贴了一些代码。我现在删除了这条线,它指向它的默认值。
{String androidNotificationIcon = 'mipmap/ic_launcher'}
一切正常。