Simple weather demo built in React Native, making use of MapView
and openweathermap
.
- Organize components into individual files.
- Use more ES6/ES7 features (intentionally neglected ES6
class
). - Consider ways to improve functionality.
Basic React Native setup requirements here and for Android here.
Summary:
-
Install Xcode
-
Install Node.js 4.0 or newer.
$ brew install node
a. NVM is also useful to manage your node version. -
Install watchman, which like
gulp watch
detects file changes and rebuilds assets$ brew install watchman
. -
Install RN binary
$ npm install -g react-native-cli
-
Run with
$ react-native start
-
$ open ios/stopwatch.xcodeproj/
- Opens the iOS sub-project in Xcode. -
Click the "Play" button in Xcode