diff --git a/README.md b/README.md index 76104ea..ab1efd9 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,19 @@ Hey there, I'm looking for active contributors to help move the development of t A camera module for React Native. #### Breaking Changes -react-native header imports have changed in v0.40, and that means breaking changes for all! [Reference PR & Discussion](https://github.com/lwansbrough/react-native-camera/pull/544). +##### react-native header imports have changed in v0.40, and that means breaking changes for all! [Reference PR & Discussion](https://github.com/lwansbrough/react-native-camera/pull/544). - if on react-native < 0.40: `npm i react-native-camera@0.4` - if on react-native >= 0.40 `npm i react-native-camera@0.6` +##### Permissions +To enable `video recording` feature you have to add the following code to the `AndroidManifest.xml`: +``` + + + + +``` + ![5j2jduk](https://cloud.githubusercontent.com/assets/2302315/22190752/6bc6ccd0-e0da-11e6-8e2f-6f22a3567a57.gif) ## Getting started @@ -70,15 +79,13 @@ pod 'react-native-camera', path: '../node_modules/react-native-camera' ``` compile project(':react-native-camera') ``` -5. Declare the permissions in your Android Manifest +5. Declare the permissions in your Android Manifest (required for `video recording` feature) ``` - - ``` ## Usage