paint-brush
How To Build WordPress App with React Native Part #19: Offline Notificationsby@krissanawat101
243 reads

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

by krissanawat 4mJanuary 8th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

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.
featured image - How To Build WordPress App with React Native Part #19: Offline Notifications
krissanawat  HackerNoon profile picture
krissanawat

krissanawat

@krissanawat101

React native Developer ,Coffee addict

Learn More
LEARN MORE ABOUT @KRISSANAWAT101'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

krissanawat  HackerNoon profile picture
krissanawat @krissanawat101
React native Developer ,Coffee addict

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here
Learnrepo
Pipfeed