just_audio icon indicating copy to clipboard operation
just_audio copied to clipboard

Customize notification buttons when using just_audio_background

Open zS1L3NT opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. I don't like the look of the default icons for skipping, pausing and playing songs in the Android notification list.

Describe the solution you'd like A way to customise

  • Which buttons show up
  • A custom icon for each button

Describe alternatives you've considered n/a

Additional context This is what Spotify's notification looks like

This is what the notification from just_audio_background looks like. The icons are the default icons and I don't want the stop button to show

zS1L3NT avatar Jun 18 '22 18:06 zS1L3NT

Changing the icons is potentially a feature I would consider adding, although configuring which buttons show, particularly the ratings button, is not. However, everything should be possible by using audio_service directly, as advised in the README. That will give you complete flexibility on what buttons to show and when, and what they should look like.

ryanheise avatar Jun 19 '22 02:06 ryanheise

Reopening since I haven't implemented the icon config feature yet.

ryanheise avatar Jul 06 '22 01:07 ryanheise