How To Build WordPress App with React Native Part #19: Offline Notifications

Written by krissanawat101 | Published 2020/01/08
Tech Story Tags: react | react-native | application | mobile-apps | software-development | tutorial | beginners | mobile-development | web-monetization

TLDR The offline mode is very handy when we are out of connection and we can still access some of the features in the app. Here, we are just going to notify the network status and cache the data using react-native-NetInfo package. Caching will help to pull the data from the AsyncStorage during the offline mode. For that, we need to use the netinfo package to display the icon in every screen header if we are offline. We used the NetInfo package to show the offline icon in the header.via the TL;DR App

no story

Written by krissanawat101 | React native Developer ,Coffee addict
Published by HackerNoon on 2020/01/08