cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Biasini (JIRA)" <>
Subject [jira] [Created] (CB-10394) config-file changes are not written to
Date Wed, 20 Jan 2016 14:18:39 GMT
Marco Biasini created CB-10394:

             Summary: config-file changes are not written to
                 Key: CB-10394
             Project: Apache Cordova
          Issue Type: Bug
          Components: Windows
    Affects Versions: 4.3.0
            Reporter: Marco Biasini

I've noticed that config-file changes defined in a plugin are not correctly written to
file. After a plugin import, the file does not contain these changes. The changes are correctly
applied to the other appxmanifest files (phone, windows10, windows80). 

I've bested both with windows platform 4.3.0 as well as master and the problem exists in both

The problem is related to the appxmanifest caching mechanism. The
file is loaded early on to determine the package name (through jsprojManager.getPackageName()).
The appxmanifest content is then cached in memory. Then, the config-file changes defined in
the plugin.xml file are applied to the manifests and written to disk. They do not use the
cached manifests from the earlier step,but rather load the files through a different code
path. After that all previously cached appxmanifest instances are then written to disk, which
effectively overwrites the content of Since this is the only
manifest that gets loaded early on, this does not affect the other appxmanifest files.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message