Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 83109

Detect if app is being accessed in offline mode and change attribute value

$
0
0
I'm working on an offline app and need to be able to detect if the device on which the app (phonegap) is being viewed is currently offline. How would i be able to detect this? What would be the best way to alter the value of an attribute when the device is detected to be in offline mode? I don't need to necessarily save the attribute back to the object but just want to show a modified value. If anyone has done something similar before and could provide some pointers/examples?

Viewing all articles
Browse latest Browse all 83109

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>