react-native-volume-manager
react-native-volume-manager copied to clipboard
iOS: addVolumeListener is not working on physical device iOS 17
Hi
I’m attempting to use this package to capture a photo when the volume keys are pressed, but it isn’t working as expected on a physical device. It functions correctly on all versions of Android emulators, however.
Steps to reproduce the issue:
- Clone the repository.
- Install the node modules and run
pod install
in theexamples
folder. - Add a console log in the
addVolumeListener
event at line 50 in thereact-native-volume-manager/example/App.tsx
file. - Run the app on a physical device.
- No logs appear in the Metro console, and the volume UI continues to display even when the toast is turned off.
Thank you in advance.