Merge pull request #1227 from TitanKing/patch-1

Update README.md
This commit is contained in:
Sibelius Seraphini 2018-02-12 09:49:04 -02:00 committed by GitHub
commit 5862cdfac2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,7 +133,7 @@ Google Symbol Utilities: https://www.gstatic.com/cpdc/dbffca986f6337f8-GoogleSym
#### Android
1. `npm install react-native-camera --save`
2. Open up `android/app/src/main/java/[...]/MainApplication.java
- Add `import org.reactnative.RNCameraPackage;` to the imports at the top of the file
- Add `import org.reactnative.camera.RNCameraPackage;` to the imports at the top of the file
- Add `new RNCameraPackage()` 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`: