Github user nikhilkh commented on a diff in the pull request:
https://github.com/apache/cordova-lib/pull/432#discussion_r63604254
--- Diff: cordova-lib/src/cordova/prepare.js ---
@@ -116,6 +117,13 @@ function preparePlatforms (platformList, projectRoot,
options) {
var browserify = require('../plugman/browserify');
return browserify(project, platformApi);
}
+ })
+ .then(function () {
+ // Handle config-file in config.xml
+ var platformRoot = path.join(projectRoot, 'platforms',
platform);
+ var platformJson = PlatformJson.load(platformRoot,
platform);
+ var munger = new PlatformMunger(platform, platformRoot,
platformJson);
+ munger.add_config_changes(project.projectConfig,
/*should_increment=*/true).save_all();
--- End diff --
This API cannot be used until cordova-common is released. This needs to go
in a separate PR.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]