Update Readme that CAMERA permission is requierd

Developers are lazy, it would help to clarify to new people that normal camera permissions actually are required. Specially under the headline permissions.
This commit is contained in:
Johan Sandmark 2017-12-03 09:57:46 +01:00 committed by GitHub
parent fe70bd71a9
commit d9b1de5db6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,10 @@ The comprehensive camera module for React Native. Including photographs, videos,
- if on react-native >= 0.40 `npm i react-native-camera@0.6`
##### Permissions
To use the camera on Android you must ask for camera permission:
```java
<uses-permission android:name="android.permission.CAMERA" />
```
To enable `video recording` feature you have to add the following code to the `AndroidManifest.xml`:
```java
<uses-permission android:name="android.permission.RECORD_AUDIO"/>