Handy toolbelt to deal nicely with offline/online connectivity in a React Native app. Smooth redux integration ✈️
https
protocol across all components.HEAD
and OPTIONS
as http methods for checking internet accessExporting checkInternetConnection
function to query internet access on demand
Adds ability to check for connectivity in background, defaults to false
withNetworkConnectivity
HOCmeta
moved up one level in the Redux action, following standard flux action convention