Skip to content

Commit 85b1e5d

Browse files
committed
fix: update instructions
1 parent 1dd0b44 commit 85b1e5d

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

examples/demo/README.md

+10-9
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,15 @@
77
After cloning the repository, run the following:
88

99
```sh
10-
cd react-native-app-auth/Example
10+
# Install the npm dependencies for the monorepo
11+
cd react-native-app-auth
1112
yarn
13+
14+
cd /examples/demo
1215
# Install the pods for the iOS example app
13-
cd ios && pod install
16+
cd ios && pod install && cd ..
1417
# Install the pods for the macOS example app
15-
cd macos && pod install
18+
cd macos && pod install && cd ..
1619

1720
# From here on, you'll need two terminals.
1821

@@ -30,18 +33,16 @@ yarn android
3033

3134
# or:
3235
# Run the macOS app (after setting `applePlatform = "macos"` in metro.config.js)
33-
#
34-
# Note that we do not currently support running the macOS demo simultaneously
35-
# with iOS or Android apps, as we use the `applePlatform = "macos"` flag to
36-
# force Metro to resolve react-native-macos instead of react-native.
3736
yarn macos
3837
```
3938

4039
### Notes
41-
* You have to have the emulator open before running the last command. If you have difficulty getting the emulator to connect, open the project from Android Studio and run it through there.
42-
* ANDROID: When integrating with a project that utilizes deep linking (e.g. [React Navigation deep linking](https://reactnavigation.org/docs/deep-linking/#set-up-with-bare-react-native-projects)), update the redirectUrl in your config and the `appAuthRedirectScheme` value in build.gradle to use a custom scheme so that it differs from the scheme used in your deep linking intent-filter [as seen here](https://github.com/FormidableLabs/react-native-app-auth/issues/494#issuecomment-797394994).
40+
41+
- If you have difficulty getting the emulator to connect, open the project from Android Studio (for Android) or Xcode (for iOS/macOS) and run it through there.
42+
- ANDROID: When integrating with a project that utilizes deep linking (e.g. [React Navigation deep linking](https://reactnavigation.org/docs/deep-linking/#set-up-with-bare-react-native-projects)), update the redirectUrl in your config and the `appAuthRedirectScheme` value in build.gradle to use a custom scheme so that it differs from the scheme used in your deep linking intent-filter [as seen here](https://github.com/FormidableLabs/react-native-app-auth/issues/494#issuecomment-797394994).
4343

4444
Example:
45+
4546
```
4647
// build.gradle
4748
android {

0 commit comments

Comments
 (0)