incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-558) Network Connection info returned is incorrect
Date Mon, 23 Apr 2012 22:40:34 GMT
Filip Maj created CB-558:
----------------------------

             Summary: Network Connection info returned is incorrect
                 Key: CB-558
                 URL: https://issues.apache.org/jira/browse/CB-558
             Project: Apache Callback
          Issue Type: Bug
          Components: WP7
    Affects Versions: 1.6.1
         Environment: Samsung Focus
            Reporter: Filip Maj
            Assignee: Filip Maj
             Fix For: 1.7.0


the connection information returned by the native Command is incorrect. The various {{DeviceNetworkInformation}}
properties do not describe network info as we currently assume.

For example, the {{IsNetworkAvailable}} boolean returns whether wifi networks _exist_ around
the device, not whether the device is connected to a wifi network.

Similarly, {{IsWifiEnabled}} describes whether the Wifi functionality is turned on on the
device, not whether it is connected to a wifi network.

As a result, if you have a cordova application and just have the Wifi enabled but not connected
to a network, {{navigator.network.connection.type}} returns "wifi", when it should return
"none".

I am investigating how to patch this issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message