From 3ff9a5852ae54e9b7b0366531a59daa31578c245 Mon Sep 17 00:00:00 2001 From: David Date: Tue, 13 Sep 2016 10:21:28 +0200 Subject: [PATCH] Update Readme (#406) for everyone that links it manually - see: https://github.com/lwansbrough/react-native-camera/issues/164 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2ba4d04..71b8d40 100644 --- a/README.md +++ b/README.md @@ -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`: