When I build and run the app on my device the sound only works when my headphones are in. Any ideas as to why there is no sound via the speakers?
I have tried, but for the IOS version compatibility has a problem, can't play there may be before 10.1 version
I had this once (oddly only on an iPad) and it was solved by using Sound.setCategory('Playback', true) or by making sure the 'slience' switch wasn't set.
The other common issue that comes up is that another sound-based library has set the category e.g. (react-native-audio) - you can get around this by using the setCategory as above just before playing.
+1 @benvium! Thank you very mich! This helped me. Should be part of the readme
Most helpful comment
I had this once (oddly only on an iPad) and it was solved by using
Sound.setCategory('Playback', true)or by making sure the 'slience' switch wasn't set.The other common issue that comes up is that another sound-based library has set the category e.g. (react-native-audio) - you can get around this by using the setCategory as above just before playing.