3

A fully functional weather app with react native and weatherapi.com

 11 months ago
source link: https://reactnativeexample.com/a-fully-functional-weather-app-with-react-native-and-weatherapi-com/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Weather

A fully functional weather app with react native and weatherapi.com

May 19, 2023 2 min read

Weather-App-React-Native

Image

Watch Tutorial on YouTube Weather App in React Native

Get Started

install dev dependencies

npm install or yarn install

go to https://www.weatherapi.com . create an account and get the api key then use that api key in constants/index.js file

Run The app

npm start or yarn start

Runs your app in development mode.

Open it in the Expo app on your phone to view it. It will reload if you save edits to your files, and you will see build errors and logs in the terminal.

npm run ios or yarn run ios

Like npm start / yarn start, but also attempts to open your app in the iOS Simulator if you’re on a Mac and have it installed.

npm run android or yarn run android

Like npm start / yarn start, but also attempts to open your app on a connected Android device or emulator. Requires an installation of Android build tools (see React Native docs for detailed setup).

💙 If you like this project, give it a ⭐ and share it with friends!

☕ Buy me a coffee

GitHub

View Github


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK