Course lesson
We'll use React Native NetInfo to detect whether the user's device is offline. If the device is offline, we will show a full screen "you are offline" message.
We'll use React Native NetInfo to detect whether the user's device is offline. If the device is offline, we will show a full screen "you are offline" message.
Resources:
Expo:
expo install @react-native-community/netinfo as per the docsCheckpoint: Show a full screen error when the app is offline
Course lesson
We'll use React Native NetInfo to detect whether the user's device is offline. If the device is offline, we will show a full screen "you are offline" message.