-
-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optional change icon on background player #115
Comments
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 |
Optional change icon on background player #115
just added in your android/app/src/main/AndroidManifest.xml add
here ic_music_custom is a drawable I added into android resources, like the launcher icon |
I pushed it in |
(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 :)
The text was updated successfully, but these errors were encountered: