This is a migrated thread and some comments may be shown as answers.

Windows 10 Connectivity problem

1 Answer 42 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Cool Apps
Top achievements
Rank 2
Cool Apps asked on 10 Jul 2017, 10:42 AM

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 !

1 Answer, 1 is accepted

Sort by
0
Garo
Telerik team
answered on 13 Jul 2017, 09:56 AM
Hello Ivaylo,

I would like to note that AppBuilder does not officially support Windows 10. Nevertheless, I attempted to reproduce the reported issue on a number of Windows 10 devices (unfortunately, we do not have devices with Gobi 2000 3G cards) but without success. The online and offline functionalities comes from the Cordova Network Information plugin and my suggestion is to report this issue in the Apache Cordova issue tracker as explained here.

Having said that, you can try to workaround the issue by using the Connection object and changing the indicator to online when the connection is not NONE. I am not sure if this information will help you to resolve the issue, however, without being able to reproduce the problem locally, I cannot give you any other recommendations.

Regards,
Garo
Progress Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
Report a bug
Asked by
Cool Apps
Top achievements
Rank 2
Answers by
Garo
Telerik team
Share this question
or