react-native-sound-player icon indicating copy to clipboard operation
react-native-sound-player copied to clipboard

Cannot play audio twice in android.

Open TheChanDI opened this issue 4 years ago • 2 comments

After the first mount of the screen, I can play the audio then after the audio has finished playing I cannot replay the audio.

TheChanDI avatar Apr 08 '21 14:04 TheChanDI

I was facing with the same issue and I changed prepareAsync() to prepare() in the RNSoundPlayerModule.java line 208, especially when you try to load .mp3 files

intimateo avatar Apr 23 '21 04:04 intimateo

Should probably submit a pull request if that fixed it. Following this link is a work around as well: https://github.com/johnsonsu/react-native-sound-player/issues/89#issuecomment-707658113

xC0der avatar Aug 24 '21 21:08 xC0der