tmeu / Mobile-application

React-native mobile application for common users.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to setup the environment

  1. Clone the repo

  2. Create a file named .env on root direcotory.

  3. Update the .env file with below info according to your workspace.

  HOST=192.168.1.101
  PORT=3000
  PROTOCOL=https

  HOST_PORT=https://grovi-backend.herokuapp.com

  GOOGLE_API_KEY=MY_API_KEY_HERE

  1. Create the following file.
  /android/app/src/main/res/values/api-keys.xml
  1. Add this code and replace API key with your Google API key. How to create Google API key
  <?xml version="1.0" encoding="utf-8"?>
  <resources>
      <string name="google_api_key">MY_API_KEY_HERE</string>    
  </resources>
  1. Run these commands after adding your API key.
  sudo yarn insall
  sudo yarn react-native start --reset-cache
  sudo yarn react-native run-android

Group No: 15

Member Index No Github username
J.P.A. Shanaka 18001582 ashanaka
D.D. Liyanaarachch i 18000932 DDhanushka
A. H. Dodampe 18000462 anjana-dodampe
A.C.Vidanagamachchi 18001769 asinduvg
G. H. G. M. Madara 18020471 ManulMax
T. M. E. U. De Silva 18000355 TMEU

About

React-native mobile application for common users.


Languages

Language:JavaScript 95.3%Language:Java 2.4%Language:Objective-C 1.7%Language:Ruby 0.4%Language:Starlark 0.2%