Open johanschram opened 5 years ago
react-native-sound
wiki states that it works only on iOS https://github.com/zmxv/react-native-sound/wiki/API#static-methods. However, I also want to control it on Android
Hey, I want to change the speaker of android from ear speaker to loud speaker. As the documentation says setCategory is not working on iOS. I also tried setSpeakerphoneOn method. It didn't do anything. Did anyone know how to change the output of the audio speaker using react-native-sound ?
Hi,
I'm trying for my app to use sounds as user feedbacks (like a ping on sending a message). The idea is that if users are already listenign to music on some other back running on backgroud, it should stop the current music flow. I used setCategory('Ambiant'), which work perfectly fine on IOS, but doesn't seems to do anything on Android : when a sound is played, it stops the background music.
Here is my implementation :
To be honnest I don't know if this is a bug, or if this is related to my implementation ... Any ideas ?
Thanks !
React-native : 0.57.1 react-native-sound : 0.10.12