Weather App
This is a design application of weather which can shows different weather in different cities.
For Android:
Requirements for Android
- Node v10.13.0
- React Native Cli
For IOS:
Requirements
- Node v10.12.0
- Cocoapods
- Watchman
- React Native Cli
- Xcode
Install Node and Watchman
Install watchman
brew install watchman
Install cocoapods
sudo gem install cocoapods
Watchman is a tool by Facebook for watching changes in the filesystem. It is highly recommended you install it for better performance.
Xcode
install Xcode via the Mac App Store. Installing Xcode will also install the iOS Simulator and all the necessary tools to build your iOS app.
If you have already installed Xcode on your system, make sure it is version 9.4 or newer.
Command Line Tools
You will also need to install the Xcode Command Line Tools. Open Xcode, then choose "Preferences..." from the Xcode menu. Go to the Locations panel and install the tools by selecting the most recent version in the Command Line Tools dropdown.
React native installation
sudo npm i -g react-native-cli
Install Packages
Use the package manager npm install to install packages.
npm install
Usage
npm start
npx react-native run-android or
npx react-native run-ios