zmxv / react-native-sound

React Native module for playing sound clips
MIT License
2.78k stars 748 forks source link

Android API 19 and below play() method does not work #761

Open mronline opened 2 years ago

mronline commented 2 years ago

:beetle: Description

Android API 19 and below play() method does not work. Method callback (success) always return true without playing the sound.

:beetle: What is the observed behavior?

No sound when I try to play url

:beetle: What is the expected behavior?

Get no error and the sound to be played.

:beetle: Please post your code:

N/A

:bulb: Does the problem have a test case?

Not really, any sample project should have the same behavior, when run in Android API 19 and below.

:bulb: Possible solution

I don't know.

:bulb: Is there a workaround?

Unfortunately no

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

I don't know how to fix it alas.

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?