Open DanStevensonDev opened 1 year ago
You can handle this by lowering volume :
start_final.setVolume(0)
like above statement rest thing u can handle by fetching details of device if its mute or not handle this accordingly....
I'm wondering if it is still possible to play sounds when you are on silent mode on iOS? Seems like some features have been deprecated? 🤔
The signature '(value: AVAudioSessionCategory): void' of 'MySound.setCategory' is deprecated.
This will help https://www.youtube.com/watch?v=vVI7ZAZq5e0
:beetle: Description
I am trying to play ambient sounds, where they should be muted if the device is in silent mode.
:beetle: What have you tried?
react-native-sounds
config is set to below code:beetle: Please post your code:
:bulb: Possible solution
Unknown
Is your issue with...
Are you using...
react-native run-android
)Which versions are you using?
Does the problem occur on...
If your problem is happening on a device, which device?