How does Mendix know the app is in online/offline state ?
I ran into an issue where the user want to be notified when his/her device drops connection. For all intents and purposes it does seem like the App should be aware of the state it is in (for eg. synchronisation it will tell me if I am offline). But I cant seem to find a system-variable that I can use in my nano-flows ??? Is there one ??
Lex van Rooy
Check out this widget i believe it does exactly what you want. It adds classes to your page so you are able to display some warnings on screen. Still no active display though, For that you probably need to build your own widget. My guess is that this widget wraps some kind of phonegap function/widget that detects whether your device has connectivity.
Pieter van de Braak
Lex what about "pinging" one/multiple server(s) to check the app's connectivity; https://gist.github.com/madan712/4509039