From efd5931fd8aa1335d2f136eaceb88f47ae2f8d23 Mon Sep 17 00:00:00 2001 From: Nazar Yablonskiy Date: Tue, 7 Mar 2017 08:11:59 +0200 Subject: [PATCH] updated Breaking Changes section of README.md --- README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) 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