I handle "resume" (document.addEventListener("resume", onResume , false);) and "offline" events in an Appery project.
It seems the cordova handles resume first and then offline.
However, depending on whether on not the device is connected I need to make decisions within onResume function above. My question is if there is a way for me to detect that device is offline or online while handling the "resume" event?
Suggestions would be appreciated.