File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed
Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ # Welcome to @intercom/intercom-react-native example app 👋
2+
3+ ## Installation
4+
5+ To get started with the @intercom/intercom-react-native example app, please follow the instructions below:
6+
7+ 1 . Generate a new .env file by running the following command in your terminal:
8+ ``` sh
9+ sh scripts/generateEnv.sh
10+ ```
11+
12+ This command will create a .env file inside the example directory.
13+
14+ 1 . Fill in the required Android and iOS API keys and workspace IDs in the .env file. Other variables are optional.
15+
16+ 2 . Install the dependencies by running the following command in the project directory:
17+
18+ ``` sh
19+ yarn
20+ ```
21+
22+ ### Android
23+
24+ To run the app on Android, execute the following command:
25+
26+
27+ ``` sh
28+ yarn example android --variant=fossDebug
29+ ```
30+
31+ ### iOS
32+ For iOS, you need to install the necessary pods. Go to the example/ios directory in your terminal and run:
33+
34+ ``` sh
35+ pod install
36+ ```
37+
38+ Once the pods are installed, go back to the project's root directory and execute the following command to run the app on iOS:
39+
40+ ``` sh
41+ yarn example ios
42+ ```
43+
44+ ### Notes:
45+ Please note that there is a known bug that prevents the iOS app from building on the latest Xcode. Therefore, it's recommended to use Xcode 14.2.
You can’t perform that action at this time.
0 commit comments