From 8ed80248ac905fb3949dbb94c2a18e874d86838d Mon Sep 17 00:00:00 2001 From: Cai Leao Date: Wed, 10 Jan 2018 13:02:19 +0000 Subject: [PATCH] Update Readme.md (#154) Changed the installation steps to use `react-native install` rather than the old `rnpm` --- Readme.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Readme.md b/Readme.md index fe8d042..61c53ec 100644 --- a/Readme.md +++ b/Readme.md @@ -17,11 +17,9 @@ A react-native wrapper for handling in-app purchases. ### Add it to your project -1. Make sure you have `rnpm` installed: `npm install rnpm -g` +1.Install with react-native cli `react-native install react-native-in-app-utils` -2. Install with rnpm: `rnpm install react-native-in-app-utils` - -3. Whenever you want to use it within React code now you just have to do: `var InAppUtils = require('NativeModules').InAppUtils;` +2. Whenever you want to use it within React code now you just have to do: `var InAppUtils = require('NativeModules').InAppUtils;` or for ES6: ```