Skip to content

Commit 998900b

Browse files
authored
docs: Recommend npx pod-install for setup instructions (#358)
# 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.
1 parent 121802b commit 998900b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ $ yarn add @react-native-community/async-storage
2727

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

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

3232
```bash
33-
$ cd ios && pod install
33+
$ npx pod-install
3434
```
3535

3636
- **React Native <= 0.59**

0 commit comments

Comments
 (0)