https://github.com/rhdeck/react-native-camera-ios-enable
Enable camera on IOS by setting privacy text
https://github.com/rhdeck/react-native-camera-ios-enable
Last synced: over 1 year ago
JSON representation
Enable camera on IOS by setting privacy text
- Host: GitHub
- URL: https://github.com/rhdeck/react-native-camera-ios-enable
- Owner: rhdeck
- License: mit
- Created: 2017-11-28T22:43:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-06T15:15:51.000Z (over 7 years ago)
- Last Synced: 2025-01-22T00:35:23.722Z (over 1 year ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-native-camera-ios-enable
Adds security message to allow use of the camera without requiring XCode intervention
# Usage
```bash
yarn add react-native-camera-ios-enable
```
**Note** You can determine the text for the camera permission message via the `IOSCameraPrivacyText` property of your `package.json` file. To set text, just set the value like so before adding the package. :
```
{
...
"dependencies": {
...
},
"IOSCameraPrivacyText": "Please let me use the camera!"
}
```