Github user rodms10 commented on a diff in the pull request: https://github.com/apache/cordova-plugin-network-information/pull/19#discussion_r17488887 --- Diff: src/firefoxos/NetworkProxy.js --- @@ -34,8 +34,16 @@ module.exports = { getConnectionInfo: function(successCallback, errorCallback) { var connection = origConnection || navigator.mozConnection, - connectionType = Connection.UNKNOWN, - bandwidth = connection.bandwidth, + connectionType = Connection.UNKNOWN; + + if (!connection) { + setTimeout(function() { --- End diff -- This is to make this an async call.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---