You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Alain Renaud (JIRA)" <ji...@apache.org> on 2012/12/06 22:41:09 UTC

[jira] [Created] (CB-1974) navigator.connection.type always report 0

Alain Renaud created CB-1974:
--------------------------------

             Summary: navigator.connection.type always report 0
                 Key: CB-1974
                 URL: https://issues.apache.org/jira/browse/CB-1974
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 2.2.0
         Environment: HTC Amaze Android 2.3.4
            Reporter: Alain Renaud
            Assignee: Joe Bowser
            Priority: Minor


With a connected phone, calling "navigator.connection.type" returns 0 (Connection.UNKNOWN) when "navigator.network.connection.type" (in earlier PG versions) used to return one of Connection.ETHERNET Connection.WIFI Connection.CELL_2G Connection.CELL_3G Connection.CELL_4G

This behaviour happens both with local Eclipse Android build and PG web Build. Therefore the phone connection status in a PhoneGap scripted app can NO longer be tested...


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira