Skip to content

Commit

Permalink
Update Readme.md (chirag04#154)
Browse files Browse the repository at this point in the history
Changed the installation steps to use `react-native install` rather than the old `rnpm`
  • Loading branch information
cainaleaouk authored and chirag04 committed Jan 10, 2018
1 parent 2845d19 commit 8ed8024
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

```
Expand Down

0 comments on commit 8ed8024

Please sign in to comment.