Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.6.0
-
None
-
None
Description
If your pre-prepare hook modifies the top-level application config.xml, those changes will not be reflected until the next prepare.
The reason is that cordova-lib incorrectly reads the state of the config file right at the state of prepare, before running pre-prepare hooks. Since the content isn't actually used until after the pre-prepare hooks are fired, the fix is trivial, just read the file later hooks fire!