[ https://issues.apache.org/jira/browse/CB-5720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13865704#comment-13865704 ]
Axel Nennker commented on CB-5720: ---------------------------------- pull request is here: https://github.com/apache/cordova-plugman/pull/41 The code now emits a warning if resouce-file is not supported on the platform. res is now not prepended to the target anymore; so an example element in plugin.xml would be: <resource-file src="glass.xml" target="res/xml/glass.xml" /> Which would move the file from <plugin_dir>/glass.xml to <project_dir>/res/xml/glass.xml (project_dir is e.g. platforms/android/ -Axel > Add resource-file element to plugin.xml > --------------------------------------- > > Key: CB-5720 > URL: https://issues.apache.org/jira/browse/CB-5720 > Project: Apache Cordova > Issue Type: Improvement > Reporter: Axel Nennker > > Add support for <resource-file src="glass.xml" target="xml/glass.xml" /> to a > plugin's plugin.xml > The above example would copy the file glass.xml from the plugin's directory > to the platforms/android/res/xml/glass.xml > This is for the use case when a plugin in needs additional file e.g. in > res/xml or other directories. > An example for Android would be an authenticator that is specified in > AndroidManifest.xml -- This message was sent by Atlassian JIRA (v6.1.5#6160)