You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Thejaswi Puthraya (JIRA)" <ji...@apache.org> on 2012/11/02 13:21:12 UTC
[jira] [Commented] (CB-1807) Android network.connection.type is not
equal to network.network.connection.type
[ https://issues.apache.org/jira/browse/CB-1807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13489384#comment-13489384 ]
Thejaswi Puthraya commented on CB-1807:
---------------------------------------
This may be slightly related to CB-1604 though it is for iOS.
> Android network.connection.type is not equal to network.network.connection.type
> -------------------------------------------------------------------------------
>
> Key: CB-1807
> URL: https://issues.apache.org/jira/browse/CB-1807
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.2.0
> Reporter: Thejaswi Puthraya
> Assignee: Joe Bowser
> Attachments: index.html
>
>
> As per the documentation and example navigator.connection.type is what was previously navigator.network.connection.type.
> """
> Before Cordova 2.2.0, the Connection object existed at: navigator.network.connection.
> To match the spec, this was changed to navigator.connection in 2.2.0.
> navigator.network.connection 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, network.connection.type is always 'unknown'(0) though network.network.connection.type 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: http://www.atlassian.com/software/jira