Skip to content

Latest commit

 

History

History

example

Welcome to @intercom/intercom-react-native example app 👋

Installation

To get started with the @intercom/intercom-react-native example app, please follow the instructions below:

  1. Install XCode before you setup the app.

  2. Setup the app using:

./script/setup

This command will install all the dependencies required to run the example app.

  1. Generate a new .env file by running the following command in your terminal:
sh scripts/generateEnv.sh

This command will create a .env file inside the example directory. Fill in the required App ID in the .env file. Other variables are optional.

Before you run the app

Please set up your React Native Development Environment for Android as described in the guide below (if you didn't do it before):

Android enviroment setup

Running the app

To run the app on Android, execute the following command:

yarn example android

To run the app on Android, execute the following command:

yarn example ios

Troubleshooting

  1. If you are facing issues related to pods, you can install them separately using:
pod install
  1. For issues related to android, try opening and running the example app from the android studio.

  2. For general iOS build errors, opening and running the example app from XCode also helps.