1) If I have something audio playing on the app and move on to play something on spotify or youtube (i.e. I lose audio focus), the music keeps on playing.(Ideally it should emit a pause event?)
2) If I play something on my app while a youtube video or a spotify song is playing, my app plays over them. Ideally the spotify song or YT video should get paused.
I see a MusicControlAudioFocusListener.java that seems to have the audio focus related methods but I doubt they're in action because my logging statements don't get triggered when audio focus changes.
Description
The module is failing in these two cases:
1) If I have something audio playing on the app and move on to play something on spotify or youtube (i.e. I lose audio focus), the music keeps on playing.(Ideally it should emit a pause event?)
2) If I play something on my app while a youtube video or a spotify song is playing, my app plays over them. Ideally the spotify song or YT video should get paused.
I see a MusicControlAudioFocusListener.java that seems to have the audio focus related methods but I doubt they're in action because my logging statements don't get triggered when audio focus changes.
Platform ?