Mobile + Web App built with React Native, React Native Web, React Native SVG.
- React Native
- Node.js
- MTADelays API -- https://github.com/Atomox/mta-delays (access restricted)
- Setup the MTADelays API locally. See repo for steps.
- Install XCode on your machine. You will need a version that supports your iOS version.
- Install React-Native locally.
- Install React Native SVG, and link it to React Native. (See instructions: https://github.com/react-native-community/react-native-svg)
- npm install in root of this repository.
- You'll probably experience errors. Reference this document for known issues: https://github.com/Atomox/ExampleCode/blob/master/Notes/react-native.readme.md (report new errors, so we can keep them documented)
- react-native run-ios
- This will compile the app, open a simulator, load it to the simulator.
- Not set to auto-reload, so refresh as you make changes.
Command + Dopens the developer console. NOTE: Debug mode runs the app via the V8 engine, not iOS. It will behave differently. Don't assume that compiling in debug mode means it will work in iOS, particularly with console.log statements.