From 93803e529bdeca6817cd9194d4a8ed66049c71da Mon Sep 17 00:00:00 2001 From: Naveed Jooma Date: Mon, 4 Mar 2024 16:05:05 -0500 Subject: [PATCH] Update RN example docs --- examples/react-native/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/examples/react-native/README.md b/examples/react-native/README.md index a5b1283de..0a20c0a12 100644 --- a/examples/react-native/README.md +++ b/examples/react-native/README.md @@ -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