React Native module which adds the ability to change the system volume on iOS and Android, listen to volume changes and supress the native volume UI to build your own volume slider or UX. It can listen to iOS mute switch and ringer mode changes on Android (and let you set the ringer mode)
MIT License
216
stars
14
forks
source link
iOS: VolumeManager.addVolumeListener not responding to volume changing #37
I'm enjoying this library a lot, it works flawlessly on Android. However, as the title mentions, it doesn't seem to work as intended on an iOS device (iPhone 15 Pro simulator).
I haven't had the chance to test this on a physical device, but I assume it wouldn't change the outcome. This is my current code:
Hi there,
I'm enjoying this library a lot, it works flawlessly on Android. However, as the title mentions, it doesn't seem to work as intended on an iOS device (iPhone 15 Pro simulator).
I haven't had the chance to test this on a physical device, but I assume it wouldn't change the outcome. This is my current code:
I'm getting into the
useEffect
just fine, but I'm not seeing theVolume changed!
at any point when pressing the volume buttons on the iOS device.Thanks in advance for any recommendations!