Windows 10 Connectivity problem

2 posts, 0 answers
  1. Cool Apps
    Cool Apps avatar
    9 posts
    Member since:
    Oct 2012

    Posted 10 Jul Link to this post

    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 Tougbooks 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 Wireless 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 !

  2. Garo
    Admin
    Garo avatar
    136 posts

    Posted 13 Jul Link to this post

    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.

     
Back to Top