gokadzev/capacitor-music-controls-plugin-new
Remote (BT headphones e.g) controls not working on Android
Open
#5 opened on Jun 13, 2022
enhancementhelp wanted
Repository metrics
- Stars
- (9 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
Looks like the Bluetooth control events for pause, play, skip song etc are not firing on Android.
For the pause play events i'd suggest trying to request audio focus when the events are fired, and for the skip song (i.e if I double tab play pause on most headphones it triggers the next event on most app), it's likely this was never implemented in the original project.
I've done some experimentation around the above so let me know if you need pointing in the right direction 👍