Skip to content

Commit

Permalink
Update RN example docs
Browse files Browse the repository at this point in the history
  • Loading branch information
njooma committed Mar 4, 2024
1 parent 35ff580 commit 93803e5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion examples/react-native/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,14 @@ This example demonstrates how to connect to a robot using a React Native app. Fo

- Run `npm install`
- Open `App.tsx` and update the `host` and API `credentials`.
- [Optional] If running on an iOS device, run `cd ios && pod install && popd`
- Run `npm run {ios|android}`
- If running on iOS, you may have to install dependencies: `cd ios && pod install && popd`
- If running on Android, you may have to export Android tool locations:
```sh
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/platform-tools
```

## Configuration

Expand Down

0 comments on commit 93803e5

Please sign in to comment.