Sebastien created CB-5995:
-----------------------------
Summary: Plugin spec config-file target could also point to an
html file
Key: CB-5995
URL: https://issues.apache.org/jira/browse/CB-5995
Project: Apache Cordova
Issue Type: Improvement
Components: Plugman
Affects Versions: 3.3.0
Reporter: Sebastien
I wrote the GapReload (https://github.com/fingerproof/cordova-plugin-gapreload)
plugin which used to access www/config.xml to read CLI passed values.
But since Cordova 3.3, this file has been moved to the project root and I can't
access stuff outside the www folder using pure JavaScript.
So here are the ideas I came up with:
- Allow plugins to also add stuff to html files (config-file
target="www/index.html"), not only xml and plist files. This should be
relatively easy to implement, right?
- Or write a plugin that would provide JavaScript developers with access to CLI
passed plugins options inside the app itself.
Please, could you consider implementing at least the first one? Thanks.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)