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

fix: play/pause not working on Android 12 and lower #32

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

AndreaLaGrotteria
Copy link

Fixes issue 30. Also includes upgrade to Capacitor 6.

Replaces ACTION_PLAY_PAUSE | ACTION_PLAY with only ACTION_PLAY and ACTION_PLAY_PAUSE | ACTION_PAUSE with ACTION_PAUSE respectively.

@Ralle
Copy link

Ralle commented Aug 9, 2024

I'm experiencing this as well on an Android 11 device. I'm playing a bit with it and managed to make the button switch states, but resume is still avoiding me.

@Heshyo
Copy link

Heshyo commented Nov 29, 2024

@AndreaLaGrotteria Did you check #34? 2 other places were modified. I personally use your code on Android 11: play and pause work well. Without your modification, pause wasn't doing anything. I also tried it successfully on Android 14.

@Ralle So this version didn't work on your phone? It's working well on my Android 11.

If #34 works well, then this PR could be closed, while #34 could be merged.

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

Successfully merging this pull request may close these issues.

Pause button not working on Android 12.0 (API 31) and lower
5 participants