Multiverse
- Multiverse is a tutoring service on-demand app for UCSD people to provide and receive tutoring services from each other.
- Check-out demo video here: https://youtu.be/28nGeTmY35c
Dev Environment SetUp
- Multiverse is a React Native project, using Expo (SDK33).
- So far, Multiverse code base does not use any native iOS code (i.e it is fully React Native) so neither macOS nor Xcode is required. You can use any machine/OS or IDE/text editor of your choice.
MacOS
- Install Node Version: 10.16.3 (includes npm 6.9.0)
- Install Expo CLI command line interface
npm install -g expo-cli
- Install Homebrew
- Install Yarn
brew install yarn
Windows
- Install Node Version: 10.16.3 (includes npm 6.9.0)
- Install Expo CLI command line interface
npm install -g expo-cli
- Install Chocolatey
- Install Yarn
choco install yarn
Linux
- Install Nodejs with the following command:
sudo apt install nodejs
- Install npm with the following command:
sudo apt install npm
- Install Expo CLI command line interface
sudo npm install -g expo-cli
- Install Yarn (https://yarnpkg.com/en/docs/install#debian-stable)
sudo apt-get install yarn
Run Multiverse App through Expo
- Note: When running app, if you see error message "Error: node_modules directory is missing...", run
yarn install
.
Option 1: iOS Simulator or Android Emulator
iOS Simulator
- To use iOS Simulator (a tool part of Xcode), you need to have Xcode version 9.4 or newer installed. This also means you need a Mac because Xcode only runs on macOS.
- Run
expo start --ios
inside the project folder, and you should see the app running in the iOS Simulator shortly. - On iOS Simulator, you can type
- 'Command + D' to open developer window
- Select Enable Live Reload to allow automatic app reloading whenever changes in code are saved
- 'Command + R' to reload the app
- 'Command + D' to open developer window
Android Emulator
- Similarly, you need to have Android Studio and Android SDK installed. Please refer to this page Android development environment section for instruction.
- Run
expo start --android
inside the project folder.
Option 2: Physical Mobile Device
- Run
expo start
inside the project folder. This starts a Node server and you can keep the server running while developing. - Install the Expo client app on your iOS or Android phone and connect to the same wireless network as your computer.
- Scan the QR code generated from your terminal with the Expo app (Android) or the Camera app (iOS).
- You can shake your device to switch to developer window - Select Enable Live Reload to allow automatic app reloading whenever changes in code are saved
Public Libraries & APIs used in our code
- React-UI-Kit. Here is its copyright and license notice. Also see here which demonstrates our compliance with its copyright and license notice.
- Stream’s React Native Chat SDK library