mirror of
https://github.com/status-im/react-native-camera.git
synced 2025-02-24 01:38:18 +00:00
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:
parent
fe70bd71a9
commit
d9b1de5db6
@ -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"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user