Github user vladimir-kotikov commented on a diff in the pull request: https://github.com/apache/cordova-lib/pull/398#discussion_r54081599 --- Diff: cordova-lib/src/plugman/platforms/browser.js --- @@ -31,25 +29,7 @@ module.exports = { return path.join(project_dir, 'www'); }, package_name:function(project_dir) { - // preferred location if cordova >= 3.4 - var preferred_path = path.join(project_dir, 'config.xml'); - var config_path; - - if (!fs.existsSync(preferred_path)) { - // older location - var old_config_path = path.join(module.exports.www_dir(project_dir), 'config.xml'); - if (!fs.existsSync(old_config_path)) { - // output newer location and fail reading - config_path = preferred_path; - events.emit('verbose', 'unable to find '+config_path); - } else { - config_path = old_config_path; - } - } else { - config_path = preferred_path; - } - var widget_doc = xml_helpers.parseElementtreeSync(config_path); - return widget_doc._root.attrib['id']; + return common.package_name(project_dir); --- End diff -- Agree about `firefoxos` and `webos` (I'd add here `tizen` as well) As for `blackberry10` - it does not rely on configs other than the one at the platform `www` dir, so using common `package_name` might lead to unexpected results. Also seems that it doesn't affected by this bug as it always copying own `config.xml` at `create`
--- 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. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org