OfflineDetection

Version 1.0.0 (OutSystems 10)
Published on 16 February 2018 by 
Created on 16 February 2018
Details
Allow a mobile app to accurately detect if it's online or offline.
Read More

Allow a mobile app to accurately detect if it's online or offline, even if it's connected to a WIFI network with no connectivity. Includes block that triggers several events related with the app's connectivity, that can automatically grab ajax requests made while the connection is down and remakes them after the connection is restored, and simple client side logic to validate connectivity status.


Completely based on Javascript (offline.js) and with no external dependencies, SilkUI is only for the Demo app.


Detail of existing triggered events:

  • Checking - Whenever we are 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)



Reviews (0)
Category
Components, UI & Widgets, Libraries
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from darwinLabs Dev Team who created this component.
Dependencies
See all 1 dependencies
Requirements
Platform:
10.0.0.402
Database:
All
Stack:
All
Component Consumers
See all 1 consumers
Weekly Downloads