Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 507a3dc

Browse files
Add comment about react-native link
1 parent ac32063 commit 507a3dc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ As new core components are released, which support referencing assets, we'll upd
7070

7171
## Getting Started
7272

73-
7473
Once you've followed the general-purpose ["getting started"](http://codepush.tools/docs/getting-started.html) instructions for setting up your CodePush account, you can start CodePush-ifying your React Native app by running the following command from within your app's root directory:
7574

7675
```shell
@@ -99,7 +98,7 @@ In order to accommodate as many developer preferences as possible, the CodePush
9998

10099
1. Run `rnpm link react-native-code-push`
101100

102-
*Note: If you don't already have RNPM installed, you can do so by simply running `npm i -g rnpm` and then executing the above command.*
101+
*Note: If you don't already have RNPM installed, you can do so by simply running `npm i -g rnpm` and then executing the above command. Alternatively, if you're using React Native 0.28+, you can run `react-native link` instead, since RNPM was merged into React Native starting in that version.*
103102

104103
And that's it! Isn't RNPM awesome? :)
105104

@@ -209,7 +208,7 @@ In order to accommodate as many developer preferences as possible, the CodePush
209208

210209
1. Run `rnpm link react-native-code-push`
211210

212-
*Note: If you don't already have RNPM installed, you can do so by simply running `npm i -g rnpm` and then executing the above command.*
211+
*Note: If you don't already have RNPM installed, you can do so by simply running `npm i -g rnpm` and then executing the above command. Alternatively, if you're using React Native 0.28+, you can run `react-native link` instead, since RNPM was merged into React Native starting in that version.*
213212

214213
2. If you're using RNPM >=1.6.0, you will be prompted for the deployment key you'd like to use. If you don't already have it, you can retreive this value by running `code-push deployment ls <appName> -k`, or you can choose to ignore it (by simply hitting `<ENTER>`) and add it in later. To get started, we would recommend just using your `Staging` deployment key, so that you can test out the CodePush end-to-end.
215214

0 commit comments

Comments
 (0)