Update Readme (#406)

for everyone that links it manually  - see: https://github.com/lwansbrough/react-native-camera/issues/164
This commit is contained in:
David 2016-09-13 10:21:28 +02:00 committed by Zack Story
parent f4bf30e17b
commit 3ff9a5852a
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ pod 'react-native-camera', path: '../node_modules/react-native-camera'
#### Android
1. `npm install react-native-camera@https://github.com/lwansbrough/react-native-camera.git --save`
2. Open up `android/app/src/main/java/[...]/MainApplication.java
- Add `import com.lwansbrough.RCTCamera.*;` to the imports at the top of the file
- Add `import com.lwansbrough.RCTCamera.RCTCameraPackage;` to the imports at the top of the file
- Add `new RCTCameraPackage()` to the list returned by the `getPackages()` method. Add a comma to the previous item if there's already something there.
3. Append the following lines to `android/settings.gradle`: