Skip to content
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

Support androidIcon on iOS #1084

Open
ankit-deligence3112 opened this issue Aug 7, 2024 · 1 comment
Open

Support androidIcon on iOS #1084

ankit-deligence3112 opened this issue Aug 7, 2024 · 1 comment

Comments

@ankit-deligence3112
Copy link

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 ryanheise changed the title 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}) Support androidIcon on iOS Aug 12, 2024
@ryanheise
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants