Skip to content

Commit

Permalink
Add info about linking Podfiles to documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
mironiasty committed Jul 25, 2017
1 parent 49fcd10 commit 18c738f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/LinkingLibraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ Install a library with native dependencies:
$ npm install <library-with-native-dependencies> --save
```

**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._
> ***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 2

Expand All @@ -47,6 +47,9 @@ $ react-native link

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

> ***Note:*** If your iOS project is using CocoaPods (contains `Podfile`) and linked library has `podspec` file,
then `react-native link` will link library using Podfile

### Manual linking

#### Step 1
Expand Down

0 comments on commit 18c738f

Please sign in to comment.