Created on 29 April 2021
icon_unfollowing
Login to follow
networkdetection-oml

Network Detection

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded on 29 April 2021 by 
networkdetection-oml

Network Detection

Details
Allow a web or PWA app to accurately detect if it's online or offline.
Read more

Allow a web or PWA app to accurately detect if it's online or offline. Includes block that triggers two events related to the app's connectivity, that can automatically detect the connection is down or up again, and simple client-side logic to validate connectivity status. You can start Sync local storage to the database when online by call TriggerOfflineDataSync inside Online action.


Completely based on Javascript and with no external dependencies.

Detail of existing triggered events:

Offline - The connection became offline.

Online- The connection became online.


I also have a Client Action named "GetNetworkStatus()" it will return true if you are online otherwise return false.

Release notes (1.0.0)
Reviews (1)
by 
2021-05-06
in version 1.0.0
This is awesome. It's life saver Luc. I am googling this a lot but I can't find anyway to have it. Thanks a lot!!!!
Category
Functional libraries & utilities, Network
Support options
This asset is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from  who created this asset.
Dependencies
Network Detection has no dependencies.
Application Objects
Network Detection has 0 AOs.
Team
Compatible with
Version 11
11.9.2 or higher
11.7.6 to 11.9.0
11.0.606 to 11.0.615
Database:
All
Asset consumers
No consumers yet.
Weekly downloads