Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
In a cordova project you define the plugins in config.xml which kind of serves as the project file.
Since some time now it also contains the plugins the project is using.
I wonder why there is still a /plugins/fetch.json and a /plugins/PLATFORM.json for each installed platform.
Both somehow list plugins in a redundant way, since the same information is already in config.xml
More so, the platform JSON contains PACKAGE_NAME that references to the config.xml widget id. Why? Its not like we can have multiple app IDs specified.
I propose to get rid of those files and make `cordova prepare` actually updating the VARIABLES defined in config.xml plugins. Because at the moment the only way to CHANGE a var in config.xml and see this change being reflected in the built app is to remove the platform and re-add it.
This is so error prone.
Attachments
Issue Links
- Is contained by
-
CB-13059 Look into removing plugins directory
- Open