From 1feb274458261fda118143fb077c7f3c24cd3106 Mon Sep 17 00:00:00 2001 From: Loch Wansbrough Date: Wed, 3 Feb 2016 19:18:00 -0800 Subject: [PATCH] Updated npm instructions in README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d8ee4fc..dd1e869 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Below is a list of known issues. Pull requests are welcome for any of these issu ### Manual install #### iOS -1. `npm install react-native-camera@latest --save` +1. `npm install react-native-camera@https://github.com/lwansbrough/react-native-camera.git --save` 2. In XCode, in the project navigator, right click `Libraries` ➜ `Add Files to [your project's name]` 3. Go to `node_modules` ➜ `react-native-camera` and add `RCTCamera.xcodeproj` 4. In XCode, in the project navigator, select your project. Add `libRCTCamera.a` to your project's `Build Phases` ➜ `Link Binary With Libraries` @@ -26,7 +26,7 @@ Below is a list of known issues. Pull requests are welcome for any of these issu #### Android -1. `npm install react-native-camera@latest --save` +1. `npm install react-native-camera@https://github.com/lwansbrough/react-native-camera.git --save` 2. Open up `android/app/src/main/java/[...]/MainActivity.java - Add `import com.lwansbrough.RCTCamera.*;` to the imports at the top of the file - Add `new RCTCameraPackage()` to the list returned by the `getPackages()` method