nativescript-audio icon indicating copy to clipboard operation
nativescript-audio copied to clipboard

Player starts to play after an android notification, even if paused

Open darkyelox opened this issue 7 years ago • 4 comments

I'm using this library in my android project and tested it using my Motorola G5 and sometimes the player starts to play the song when some notification sound like Whatsapp or Facebook comes up, even when i call the pause method, that is weird, is some problem of the Android MediaPlayer?

darkyelox avatar Jul 17 '18 17:07 darkyelox

I think this is related to #111 it has to do with the .resume() being called, the proposed fix didn't work for me so I think someone will need to dig further.

Robbt avatar Aug 25 '18 17:08 Robbt

I will be testing this soon to see if this bug is still occuring and trying to find a solution. If anyone else has any information about it feel free to share.

Robbt avatar Dec 09 '18 03:12 Robbt

I have the same case

basaltedr avatar Jul 11 '19 09:07 basaltedr

In my case, this answer fixed the issue 👍🏽

Omar-Al-Ashi avatar Mar 25 '20 15:03 Omar-Al-Ashi