Pepe Cano created CB-5430:
-----------------------------

             Summary: [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


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#6144)

Reply via email to