Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS: addVolumeListener is not working on physical device iOS 17 #39

Open
Vijaykumarj opened this issue Sep 3, 2024 · 0 comments
Open

Comments

@Vijaykumarj
Copy link

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:

  1. Clone the repository.
  2. Install the node modules and run pod install in the examples folder.
  3. Add a console log in the addVolumeListener event at line 50 in the react-native-volume-manager/example/App.tsx file.
  4. Run the app on a physical device.
  5. 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.

@Vijaykumarj Vijaykumarj changed the title addVolumeListener is not working on iOS physical device iOS 17 iOS: addVolumeListener is not working on physical device iOS 17 Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant