Closed minafa96 closed 3 years ago
same here anyone found solution ?
If the audio file you are using isn't added to the bundle, i.e., it isn't a local file that has been configured in Xcode resources, you'll get this error. Use null
instead of Sound.MAIN_BUNDLE
if the audio file is loaded over the wire.
Check your audio format, iOS does not support ogg files 😞
+++
Follow this and it works !!!! https://github.com/zmxv/react-native-sound/issues/64#issuecomment-346956562
If the audio file you are using isn't added to the bundle, i.e., it isn't a local file that has been configured in Xcode resources, you'll get this error. Use
null
instead ofSound.MAIN_BUNDLE
if the audio file is loaded over the wire.
This worked for me!
for me, the problem was that I didn't add .mp3 to the name
:beetle: Description
sounds play fine in android but in ios I'm getting this error
:beetle: Please post your code:
Is your issue with...
IOS
Are you using...
React Native CLI
Which versions are you using?
Does the problem occur on...
Simulator