cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <>
Subject [jira] [Commented] (CB-1807) Android navigator.connection.type is not equal to
Date Fri, 04 Jan 2013 15:34:13 GMT


Andrew Grieve commented on CB-1807:

Just tested using the MobileSpec network test page. Turned off wifi, and it changed to "none",
turned on network and it changed to "4g". This was with a Galaxy Nexus.

I think you're best bet is to wait for 2.3 to come out and switch fully over to it, and then
file a new bug if it still isn't working right on your device. 2.3 should be release either
today or early next week.
> Android navigator.connection.type is not equal to
> -----------------------------------------------------------------------------------
>                 Key: CB-1807
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>            Reporter: Thejaswi Puthraya
>            Assignee: Andrew Grieve
>             Fix For: 2.3.0
>         Attachments: index.html
> As per the documentation and example navigator.connection.type is what was previously
> """
> Before Cordova 2.2.0, the Connection object existed at:
> To match the spec, this was changed to navigator.connection in 2.2.0.
> still exists, but is now deprecated and will be removed
in a future release.
> """
> But in the file that I am enclosing to reproduce the bug, navigator.connection.type is
always (irrespective of connection) 'unknown'(0) though
returns the correct value.

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