zmxv / react-native-sound

React Native module for playing sound clips
MIT License
2.79k stars 747 forks source link

audio is played automatically without any action when audio is in pause state #698

Open ebrahimhassan121 opened 4 years ago

ebrahimhassan121 commented 4 years ago

:beetle: Description

audio is played automatically without any action when audio is in pause state thats happens when internet status changed :beetle: What is the observed behavior? audio resumed without calling resume function that happened when internet speed increased

:beetle: What is the expected behavior?

don't resume when internet status changed :beetle: Please post your code:

// Please post your code

:bulb: Does the problem have a test case? you can use android emulator step 0 :set emulator network type to gsm step 1 : play audio from any url step 2 : pause audio step 3 : change emulator network type to HSDPA

:bulb: **Possible solution**

:bulb: Is there a workaround?

:bulb: If the bug is confirmed, would you be willing to create a pull request?

Is your issue with...

Are you using...

Which versions are you using?

Does the problem occur on...

If your problem is happening on a device, which device?