Skip to content

Commit

Permalink
Merge pull request react-native-camera#1020 from JSandmark/patch-1
Browse files Browse the repository at this point in the history
Update Readme that CAMERA permission is requierd
  • Loading branch information
sibelius authored Dec 7, 2017
2 parents efe5d24 + d9b1de5 commit 3660420
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ The comprehensive camera module for React Native. Including photographs, videos,
- if on react-native >= 0.40 `npm i [email protected]`

##### 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"/>
Expand Down

0 comments on commit 3660420

Please sign in to comment.