Skip to content

Commit

Permalink
Remove rnpm references in favour of react-native
Browse files Browse the repository at this point in the history
Summary:
No need for the references now that rnpm is baked into core.
Closes #10069

Differential Revision: D3914945

fbshipit-source-id: bdf9aac03a6544bec1f18b9a80f26638ee508e16
  • Loading branch information
designorant authored and Facebook Github Bot committed Sep 23, 2016
1 parent 7dff5d2 commit 1f9b765
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions docs/LinkingLibraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,32 +27,21 @@ error as soon as you try to use the library._

### Automatic linking

"[rnpm](http://github.com/rnpm/rnpm)" is a community project that allows linking of native dependencies automatically:

#### Step 1

Install `rnpm`:
```bash
$ npm install rnpm -g
```

**Note:** _`rnpm` requires `node` version 4.1 or higher_

#### Step 2

Install a library with native dependencies:
```bash
$ npm install <library-with-native-dependencies> --save
```

**Note:** _`--save` or `--save-dev` flag is very important for this step. `rnpm` will link
**Note:** _`--save` or `--save-dev` flag is very important for this step. React Native will link
your libs based on `dependencies` and `devDependencies` in your `package.json` file._

#### Step 3
#### Step 2

Link your native dependencies:
```bash
$ rnpm link
$ react-native link
```

Done! All libraries with a native dependencies should be successfully linked to your iOS/Android project.
Expand Down

0 comments on commit 1f9b765

Please sign in to comment.