Setting up the project

Project Contents

You will receive a bundle.zip file on download. It will have 3 folders

  1. app - This file contains all the code for the app
  2. Documentation.rtf (Contains the links to the website for the app and its documentation)

System Requirements

  1. Node.js version >=10.16.0 should be installed. Download here 
  2. Yarn. Install using the instructions at this link
  3. React Native CLI. Install using below command. . For help, please check this link.
    npm install -g react-native-cli
  4. Latest Expo CLI should be installed. Install using 
    npm install -g expo-cli

     

  5. If you want to see the app running on your system, then your system should be connected to a simulator which should be installed.

    1. If you are on a Mac machine, then you can simply install X-code and I-phone, where the simulators are automatically installed. Follow the guide on this link.
    2. If you are on a Windows machine, you will be able to test it properly on a Android Simulator which can be installed using Genymotion or Android Studio.

Setting up

  1. Extract the bundle.zip folder. (Note -> If you copy the files from extracted folder, Do remember to copy the hidden files like .babelrc etc in app folder. Else you might face issues while starting the project.)

  2. In the extracted directory, Open terminal, Go to  and Run below commands to start the app.

    cd app
    yarn
    expo start

     

  3. There are 2 ways to open this project on a simulator. You can even test it on real device using the expo web GUI that will be opened in your browser after step-2.

    1. Via Expo browser GUI - On the left side you will see 2 options, Run on ios and Run on android.
    2. Via command line - Click on the terminal and press i for ios simulator and a for android simulator
  4. You can also run the development code on your mobile.

    1. In the Expo browser GUI on your system, click on publish/republish project. Remember, in order to reflect the requisite changes for internet based access, it is necessary to publish the project or the device should on the same network as the system on which expo is ran
    2. Install the expo app using App store/Play Store and open it.
    3. Click on Scan QR Code and scan the code showing on the Expo browser GUI on the left side in the terminal.
    4. The app should open on your mobile.
  5. Configure Social Authentication for Google and Facebook by following the instructions in this section. (Optional - Required only if facebook and google authentication are to be enabled)

If you still face any issues in setting up the projects, contact using the live chat on bottom right, and we will get back to you as soon as possible.

Published On October 14, 2020 12:27 PM

Last Updated October 15, 2020 7:17 AM