For iOS environment
- make sure you have Xcode and command line tool installed
For Android environment
- Install Java SE
- Install Android Studio installed
- Install Oracle VM VirtualBox
- Register and install Genymotion
- add the following code to
~/.bash_profile
file
export ANDROID_HOME=~/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
if you have Oh-My-Zsh
installed
you need to also add the code to ~/.zshrc
6. Launch Genomotion and add a virtual devices
7. Go to Genomotion Settings
and click on ADB
tab, select Use custom Android SDK tools
and input the Android Studio SDK location.
- Usuall Android Studio SDK location is
/Users/YOUR_COMPUTER_NAME/Library/Android/sdk
. - You can also find the Android Studio SDK location in Android Studio SDK manager.
Fork a copy from github or download the repository on your computer, unzip it and launch the terminal at the root directory of the folder.
- Request for the .env file.
- Run
npm install
to install all dependency to your local machine. - Run
npm start
to activate emulate selection screen.- Run
react-native run-ios
for emulate in iOS. - Click
react-native run-ios
for emulate in android.
- Run
The Spindr App Mobile uses React-Native for frontend framework and Expo for emulation.
The project is licensed under the MIT license.