[
https://issues.apache.org/jira/browse/CB-5783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe Bowser updated CB-5783:
---------------------------
Component/s: (was: Android)
> Cordova/plugin_list - module.exports are always empty
> -----------------------------------------------------
>
> Key: CB-5783
> URL: https://issues.apache.org/jira/browse/CB-5783
> Project: Apache Cordova
> Issue Type: Bug
> Affects Versions: 3.3.0
> Environment: Test the app in a desktop browser
> Reporter: Kevin Lucich
> Labels: cordova, plugin_list, plugins
>
> When i tested the apps in desktop browser (version Cordova 3.0.0) i don't
> received any error. when i update Cordova i note that the file
> "cordova_plugins.js" has variable empty ("module.exports" is empty array).
> Before the update this file contained the list of installated plugins.
> Why is now empty?
> This problem causes the fact that I receive the error "navigator.connection
> is undefined"
> /////////////////////////////////////
> Old Cordova - after installations a plugin
> cordova.define('cordova/plugin_list', function(require, exports, module) {
> module.exports = [
> [...]
> {
> "file":
> "plugins/org.apache.cordova.network-information/www/network.js",
> "id": "org.apache.cordova.network-information.network",
> "clobbers": [
> "navigator.connection",
> "navigator.network.connection"
> ]
> },
> [...]
> ]
> });
> /////////////////////////////////////
> Cordova 3.3.0
> cordova.define('cordova/plugin_list', function(require, exports, module) {
> module.exports = [];
> module.exports.metadata =
> // TOP OF METADATA
> {}
> // BOTTOM OF METADATA
> });
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)