0 Replies Latest reply on Jan 10, 2018 10:08 AM by tymekt

    Network information on Windows 10

    tymekt Level 1

      Hi, I've got an issue with cordova-plugin-network-information. I am making app in Intel XDK for Android and Windows 10 desktop, which is compiled by PhoneGap Build. When I use cordova network information plugin on Android device it work fine. On Windows 10 desktop it fails, there aren't any alerts or text content. What could be the issue?
      Here's my code:





      document.addEventListener("offline", onOffline, false);
      .addEventListener("online", onOnline, false);

      function onOffline() {
      ('Not connected.');
      .getElementById("networkInfo").textContent = "No connection";

      function onOnline() {
      .getElementById("networkInfo").textContent = "Connected";