Allow a mobile app to accurately detect if it's online or offline, and give you a warning when your network status change.
Includes block that triggers several events related with the app's connectivity.
External dependencies:
OfflineDetection
This use the offline.js javascript (https://github.hubspot.com/offline/docs/welcome/)
You can find the component here (https://www.outsystems.com/forge/3303/)
SilkUI (only on the Demo Screen)
How to use:
Recommended: Drag the component WebBlock to the pages layouts. you can check the pattern on the Demo.
You don’t need generate the app again.
Events:
Checking - Testing the connection
ConfirmedOffline - A connection test has failed, fired even if the connection was already offline
ConfirmedOnline - A connection test has succeeded, fired even if the connection was already online
Offline - The connection has gone from online to offline
Online- The connection has gone from offline to online
RequestsCapture - A new request is being held (if RemakeRequests flag is set to true)
RequestsFlush - Any pending requests have been remade (if RemakeRequests flag is set to true)