Merge pull request #1072 from samuela/patch-1

Update README.md
This commit is contained in:
Sibelius Seraphini
2018-01-04 18:46:22 -02:00
committed by GitHub
+1 -3
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`