ryanheise / audio_service

Flutter plugin to play audio in the background while the screen is off.
806 stars 480 forks source link

Support androidIcon on iOS #1084

Open ankit-deligence3112 opened 3 months ago

ankit-deligence3112 commented 3 months ago

Feature proposal

I want to add a lock icon instaed of play/pause in andriod and ios notification control using audio service and just_audio .when i added lock icon like this its working fine in andriod but not showing in ios .how i can show in ios .


if (isPaid)
          MediaControl.custom(
              androidIcon: 'drawable/ic_lock',
              label: 'Locked',
              name: 'Locked',
              extras: <String, dynamic>{'Locked': 1})
### Motivating use case(s)
so that user can add custom icon in ios .
ryanheise commented 3 months ago

I've edited your title to be of a more appropriate length.