Skip to content

Releases: hashinclude72/weatherApp

1.0.0

05 Jan 12:13
Compare
Choose a tag to compare
  • Added Splashscreen and app icon
  • Added Daily details timeline
  • Added Hourly graph
  • Added Themes ( Black, Light )
  • Package Renamed to com.hashinclude72.weather
  • Switched to Styled components
  • Added Navigation

0.0.1

17 Nov 11:57
Compare
Choose a tag to compare
0.0.1 Pre-release
Pre-release

weatherApp

just another weather app

Packages

  • 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

Usage

yarn install
yarn run android

Notes

  • Swipe down to relaod
  • Toast popup in error screen for detailed errors
  • Redux used in main branch and React Context is used in context-api branch
  • Weather icons are lottie animations

Custom Hooks

useLocation

const {data, error, isLoading, getLocation} = useLocation();

useWeather

const { weather, forecast, error, isLoading, getWeather } = useWeather();

Redux and React.Context state

const { weather, forecast, error, isLoading } = state;