just another weather app
-
apisauce
- api calling -
lottie-react-native
- to add lottie animations -
react-native-dotenv
- access.env
VARS in code -
react-native-geolocation-service
- get location by native apis -
react-native-permissions
- ask native permissions -
react-native-responsive-fontsize
- dynamic font size for diff screen sizes -
react-native-simple-toast
- simple toast popup for errors -
redux
react-redux
- state management
yarn install
yarn run android
- Swipe down to relaod
- Toast popup in error screen for detailed errors
Redux
used inmain
branch andReact Context
is used incontext-api
branch- Weather icons are lottie animations
const {data, error, isLoading, getLocation} = useLocation();
const { weather, forecast, error, isLoading, getWeather } = useWeather();
const { weather, forecast, error, isLoading } = state;