Closed vladimirlapikov closed 4 years ago
It will be dificult because you have to give on Android a resource icon (like the launcher icon)
I think the simplest way to provide it is to add a manifest extra field which will refer to the notification icon (like how firebase does)
Thanks,I"ll check it
For now it's not implemented but I'll try to add this field. It will not be configurable from flutter but from the Android manifest
just added
in your android/app/src/main/AndroidManifest.xml
add
<meta-data
android:name="assets.audio.player.notification.icon"
android:resource="@drawable/ic_music_custom"/>
here ic_music_custom is a drawable I added into android resources, like the launcher icon
I pushed it in 1.6.2
(meta data goes inside application)
...
<meta-data
android:name="assets.audio.player.notification.icon"
android:resource="@drawable/ic_music_custom"/>
</application>
</manifest>
thank you very very much :)))))
You're welcome thanks for using this lib and pushing issues :)
Hi , it will be helpful to add control over an icon of background player to change the default icon to my app icon for example thnx again :)