Update README.md
This commit is contained in:
parent
b263bef289
commit
ba47878103
|
@ -34,7 +34,7 @@ To enable `video recording` feature you have to add the following code to the `A
|
||||||
|
|
||||||
### Requirements
|
### Requirements
|
||||||
1. JDK >= 1.7 (if you run on 1.6 you will get an error on "_cameras = new HashMap<>();")
|
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>
|
<key>NSCameraUsageDescription</key>
|
||||||
<string>Your message to user when the camera is accessed for the first time</string>
|
<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>
|
<string>Your message to user when the photo library is accessed for the first time</string>
|
||||||
```
|
```
|
||||||
|
|
||||||
NSPhotoLibraryAddUsageDescription
|
|
||||||
|
|
||||||
### Mostly automatic install with react-native
|
### Mostly automatic install with react-native
|
||||||
1. `npm install react-native-camera --save`
|
1. `npm install react-native-camera --save`
|
||||||
3. `react-native link react-native-camera`
|
3. `react-native link react-native-camera`
|
||||||
|
|
Loading…
Reference in New Issue