- Nodejs >[email protected]
- Android SDK
- Yarn >[email protected]
The following setup helps you to run the application on an android machine. Read the documentation of react-native to know about running it on iOS devices.
- Clone the repository
git clone [email protected]:glific/mobile.git
You can also use https to clone the repository. To know more read this documentation.
- Now change the directory by navigating into the cloned repository. Use the following command, in case of linux.
cd mobile
-
Create an environment file in the project's home directory with the filename
.env
, copy the contents from.env.example
and update the key-value pairs based on the current environment the application is running in. -
Install the dependencies using yarn.
yarn install
- Start the metro server.
yarn start
Note that you need to connect either an android device or an emulator with your PC to run the application.
- Download Expo Go app from playstore
- Scan the QR from your CLI