4 Replies Latest reply on Jun 10, 2013 8:02 PM by Marcus Atkins

    System::get_property('has_network') always returns false on WM

    Marcus Atkins

      Hi All,

       

      As the title suggests when using the System has_network property it always returns false on WM.

       

      The same code that is used works on the simulator but not on the device.

       

      My exact code is (this was just to test if it worked):

       

          WebView.execute_js("alert('" + System::get_property('has_network').to_s + "')")