You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/demo/README.md
+10-9
Original file line number
Diff line number
Diff line change
@@ -7,12 +7,15 @@
7
7
After cloning the repository, run the following:
8
8
9
9
```sh
10
-
cd react-native-app-auth/Example
10
+
# Install the npm dependencies for the monorepo
11
+
cd react-native-app-auth
11
12
yarn
13
+
14
+
cd /examples/demo
12
15
# Install the pods for the iOS example app
13
-
cd ios && pod install
16
+
cd ios && pod install&&cd ..
14
17
# Install the pods for the macOS example app
15
-
cd macos && pod install
18
+
cd macos && pod install&&cd ..
16
19
17
20
# From here on, you'll need two terminals.
18
21
@@ -30,18 +33,16 @@ yarn android
30
33
31
34
# or:
32
35
# 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.
37
36
yarn macos
38
37
```
39
38
40
39
### 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).
0 commit comments