[ 
https://issues.apache.org/jira/browse/CB-1974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Bowser resolved CB-1974.
----------------------------

    Resolution: Duplicate

This is a known issue that has been fixed, see CB-1807
                
> navigator.connection.type always reports 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

Reply via email to