cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alain Renaud (JIRA)" <>
Subject [jira] [Created] (CB-1974) navigator.connection.type always report 0
Date Thu, 06 Dec 2012 21:41:09 GMT
Alain Renaud created CB-1974:

             Summary: navigator.connection.type always report 0
                 Key: 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 "" (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:

View raw message