You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2014/01/06 23:13:51 UTC

[jira] [Resolved] (CB-5430) [plugin-network-information] JS getInfo method does not work on Android

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

Joe Bowser resolved CB-5430.
----------------------------

    Resolution: Not A Problem

StackOverflow says that you need to reinstall the plugin.  I think you should probably do that.

> [plugin-network-information] JS getInfo method does not work on Android
> -----------------------------------------------------------------------
>
>                 Key: CB-5430
>                 URL: https://issues.apache.org/jira/browse/CB-5430
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>            Reporter: Pepe Cano
>            Assignee: Joe Bowser
>
> The error is described at http://stackoverflow.com/a/19894873/446317
> Current JS implementation originates and exception because the "getInfo" method is available at the "navigator.connection" variable.
> So, the only way to use the API is to call directly:
>         cordovaRef.exec(function(v) {
>         }, function() {
>         }, "NetworkStatus", "getConnectionInfo", []);



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)