Skip to content

Commit

Permalink
docs: Recommend npx pod-install for setup instructions (#358)
Browse files Browse the repository at this point in the history
# Summary

We've been recommending devs use `npx pod-install` since it will attempt to install CocoaPods CLI if it's not available on the computer (cite [React Navigation setup guide](https://reactnavigation.org/docs/getting-started/#installing-dependencies-into-a-bare-react-native-project)). This has proved very useful for Expo users who are now migrating to the bare workflow and want to use community packages in their projects.
  • Loading branch information
EvanBacon authored May 15, 2020
1 parent 121802b commit 998900b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ $ yarn add @react-native-community/async-storage

[CLI autolink feature](https://github.com/react-native-community/cli/blob/master/docs/autolinking.md) links the module while building the app.

Run `pod install` in iOS project in order to add RNAsyncStorage cocoapod:
Use CocoaPods to add the native `RNAsyncStorage` to your project:

```bash
$ cd ios && pod install
$ npx pod-install
```

- **React Native <= 0.59**
Expand Down

0 comments on commit 998900b

Please sign in to comment.