Skip to content

Commit

Permalink
Update Readme that CAMERA permission is requierd
Browse files Browse the repository at this point in the history
Developers are lazy, it would help to clarify to new people that normal camera permissions actually are required. Specially under the headline permissions.
  • Loading branch information
JSandmark authored Dec 3, 2017
1 parent fe70bd7 commit d9b1de5
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 d9b1de5

Please sign in to comment.