I am working with Cordova Application targeted to Windows 8.1 platform. I am registering the online/offline events using following code:
document.addEventListener("offline", jQuery.proxy(this.onOffline, this), false);
document.addEventListener("online", jQuery.proxy(this.onOnline, this), false);
I am not able to get the online/offline events when my device is connected to VPN. If the VPN is not enabled then, I am able to see the events getting fired correctly.