Skip to content

Commit 8ed8024

Browse files
cainaleaoukchirag04
authored andcommitted
Update Readme.md (chirag04#154)
Changed the installation steps to use `react-native install` rather than the old `rnpm`
1 parent 2845d19 commit 8ed8024

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Readme.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@ A react-native wrapper for handling in-app purchases.
1717

1818
### Add it to your project
1919

20-
1. Make sure you have `rnpm` installed: `npm install rnpm -g`
20+
1.Install with react-native cli `react-native install react-native-in-app-utils`
2121

22-
2. Install with rnpm: `rnpm install react-native-in-app-utils`
23-
24-
3. Whenever you want to use it within React code now you just have to do: `var InAppUtils = require('NativeModules').InAppUtils;`
22+
2. Whenever you want to use it within React code now you just have to do: `var InAppUtils = require('NativeModules').InAppUtils;`
2523
or for ES6:
2624

2725
```

0 commit comments

Comments
 (0)