Skip to content

Latest commit

 

History

History
73 lines (47 loc) · 1.82 KB

README.md

File metadata and controls

73 lines (47 loc) · 1.82 KB

SFUSat Mobile App

preview

Included

Installation

See Getting Started to install prerequisites (npm, node etc).

$ npm install -g react-native-cli
$ npm install

Development

Start local server

It is suggested to install watchman, but it is not required. Installing watchman speeds up the development process by allowing npm start to bundle the app faster (spends less time looking for changed files, faster at traversing directory trees).

Watchman will be automatically used once installed. More info on Watchman here.

$ npm start

Android

Open Android emulator and run command: (Or connect real device via USB)

$ npm run android

iOS (untested)

Run command to open iOS simulator and run app:

$ npm run ios

Or open ios/sfusat.xcodeproj file with XCode:

$ npm run ios-open

App Dev Mode

  • Shake the device and...
    • Enable dev mode
    • Enable live reload
    • Enable hot reloading
    • Setup debug server host & port (use wifi to send bundles to device so device doesn't need to be plugged in)

Credits

Licence