Open BramDecuypere opened 7 years ago
This is not going to work, because ionic cloud doesnt support hooks, which cordova-custom-config is depend on. https://github.com/dpa99c/cordova-custom-config/issues/112#issuecomment-297147332
Also this plugin/hook should probably not be required any more as Cordova supports setting config file values in config.xml
itself now: https://cordova.apache.org/docs/en/dev/plugin_ref/spec.html#edit-config (Docs say plugin.xml
right now, but it also works in config.xml
) Much simpler and cleaner.
@piotrowski nice! But unfortunatelly I need to change iOS platform xxx-Info.plist where values are structured like this:
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDisplayName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIcons</key>
...
</dict>
And edit-config needs target as XPath, but there is no way in XPath I can select CFBundleDevelopmentRegion
The only option for .plist is to replace whole
But for AndroidManifest it is very good option! š
Our build server has been working for a while and pushing to ionic.io. Suddenly it stopped working after adding this plugin: cordova-custom-config We currently removed this plugin and now it's working again.
The errors we get from ionic.io:
Locally this build works, we get it running on a device, so our guess is that the problem isn't something we can solve.
Any ideas are welcome! Some relevant code on how we use this plugin:
config.xml:
package.json:
Your system information: Cordova CLI: Not installed Gulp version: CLI version 3.9.1 Gulp local: Local version 3.9.1 Ionic Framework Version: 2.0.0-rc.1 Ionic CLI Version: 2.1.1 Ionic App Lib Version: 2.1.1 Ionic App Scripts Version: 0.0.34 OS: Distributor ID: Ubuntu Description: Ubuntu 16.04.1 LTS Node Version: v6.8.1