This question is locked. New answers and comments are not allowed.
Hi,
we have developed Windows 10 application using Telerik AppBuilder. Generally, it works great on Toughbooks with Verizon 4G cards, but a few of the have Gobi 2000 3G cards. We have implemented simple Internet Connectivity Indicator but on the devices with Gobi cards, it always shows that there is no internet connectivity unless we connect through connection.
I am posting a code fragment that implements that functionality:
function onDeviceReady() {
document.addEventListener("online", onOnline, false);
document.addEventListener("offline", onOffline, false);
if (navigator.onLine) {
onOnline();
} else {
onOffline();
}
}
Thanks in Advance !