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

Camera feature does not work in iOS #44

Open
xieruishen opened this issue Oct 14, 2020 · 2 comments
Open

Camera feature does not work in iOS #44

xieruishen opened this issue Oct 14, 2020 · 2 comments
Labels
bug Something isn't working iOS

Comments

@xieruishen
Copy link
Contributor

Checking audio permissions without having key 'NSMicrophoneUsageDescription' defined in your Info.plist. Audio Recording for your video files is therefore disabled. If you do not need audio on your recordings is is recommended to set the 'captureAudio' property on your component instance to 'false', otherwise you will have to add the key 'NSMicrophoneUsageDescription' to your Info.plist. If you do not your app will crash when being built in release mode. You can learn more about adding permissions here: https://stackoverflow.com/a/38498347/4202031

Repro step:

  1. Launch app
  2. Scroll down to roadway section and hit camera button
@xieruishen xieruishen added bug Something isn't working iOS labels Oct 14, 2020
@xieruishen
Copy link
Contributor Author

Another logged warning related: Possible Unhandled Promise Rejection (id: 0): "Camera handle cannot be null"

@xieruishen
Copy link
Contributor Author

Checking video permissions without having key 'NSCameraUsageDescription' defined in your Info.plist. If you do not add it your app will crash when being built in release mode. You will have to add it to your Info.plist file, otherwise RNCamera is not allowed to use the camera. You can learn more about adding permissions here: https://stackoverflow.com/a/38498347/4202031

@xieruishen xieruishen added this to the Mid Priority milestone Oct 20, 2020
@xieruishen xieruishen reopened this Dec 14, 2020
@coverney coverney modified the milestones: Mid Priority, Lower Priority May 10, 2021
@coverney coverney changed the title Camera feature does not work Camera feature does not work in iOS May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working iOS
Projects
None yet
Development

No branches or pull requests

2 participants