Update README.md

This commit is contained in:
samuela 2018-01-03 22:07:14 -05:00 committed by GitHub
parent b263bef289
commit ba47878103
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -34,7 +34,7 @@ To enable `video recording` feature you have to add the following code to the `A
### Requirements
1. JDK >= 1.7 (if you run on 1.6 you will get an error on "_cameras = new HashMap<>();")
2. With iOS 10 and higher you need to add the "Privacy - Camera Usage Description" key to the info.plist of your project. This should be found in 'your_project/ios/your_project/Info.plist'. Add the following code:
2. With iOS 10 and higher you need to add the "Privacy - Camera Usage Description" key to the Info.plist of your project. This should be found in 'your_project/ios/your_project/Info.plist'. Add the following code:
```
<key>NSCameraUsageDescription</key>
<string>Your message to user when the camera is accessed for the first time</string>
@ -56,8 +56,6 @@ To enable `video recording` feature you have to add the following code to the `A
<string>Your message to user when the photo library is accessed for the first time</string>
```
NSPhotoLibraryAddUsageDescription
### Mostly automatic install with react-native
1. `npm install react-native-camera --save`
3. `react-native link react-native-camera`