Mobile App
React Native codebase that produces the UniNinja iOS and Android applications.
Installation
In order to build and run the application, do the following:
- Clone the repo:
git clone https://github.com/UniNinja/mobile
. - Change directory to the project root:
cd mobile
. - Run
npm i
in the repo directory. This may take a few minutes. - Then execute either
react-native run-ios
orreact-native run-android
to run the respective projects.
Important
If you have not already got
react-native
installed on your system, you will first need to do so using:npm install -g react-native-cli
.
When running the Android project on a Mac, make sure you launch the Android Emulator before you run the
react-native run-android
.
StandardJS
This project conforms to the JavaScript Standard Style. In order to check conformance, do the following:
- Run the checker:
npm test
.
Any violations of the rules will be reported (printed) in the terminal window. This check is made automatically when pull requests are submitted.