This project contains the Hey Mentor mobile application built with React Native.
For more on the Hey Mentor organization, including how you can get involved, please visit heymentor.org.
This mobile application is used by the Hey Mentor organization to facilitate communication between mentors and mentees.
The latest UI design can be found here
- Download or clone GitHub repository
In the directory you want to clone the repo to, run:
git clone https://github.com/Hey-Mentor/mentor-mobile.git
-
Download and install the EXPO CLI on your desktop. Follow this guide for detailed instructions.
-
Download and install the EXPO mobile client on your phone (or you can use an iOS simulator through Xcode or Android simulator through Android Studio)
-
[First time only]: If this is the first time executing the project, you will need to execute:
yarn install
-
Add
config.js
which should contain the env vars. Note: If you're using a local dev env, make sure thatAPI_URL
andAPI_TEST_URL
are pointing to your machine's IP address rather than 127.0.0.1 or localhost as 127.0.0.1/localhost will point the mobile phone to itself -
Execute:
expo start
By default, only developers can access the signed-in portion of the application (behind the Facebook login). To get registered as a developer, or to get credentials for a test user, please contact the project owner.
- Why is the API returning a 401 - Unauthorized?
- This response may occur when the API request contains an invalid token/api_key.
- Sometimes the app will not build correctly and therefore use an outdated token value. If logging in and out of the account does not work, try clearing the cache and data of the expo app.