cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject [1/3] docs commit: Add <resource-file> config.xml doc to 6.x as well
Date Thu, 27 Apr 2017 17:15:44 GMT
Repository: cordova-docs
Updated Branches:
  refs/heads/master bf7af6c79 -> fa26ac602


Add <resource-file> config.xml doc to 6.x as well


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/edca6c9c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/edca6c9c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/edca6c9c

Branch: refs/heads/master
Commit: edca6c9c11aee7b7bf8d37e891c73746158aca91
Parents: bf7af6c
Author: Shazron Abdullah <shazron@gmail.com>
Authored: Thu Apr 27 10:11:17 2017 -0700
Committer: Shazron Abdullah <shazron@gmail.com>
Committed: Thu Apr 27 10:11:17 2017 -0700

----------------------------------------------------------------------
 www/docs/en/6.x/config_ref/index.md | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/edca6c9c/www/docs/en/6.x/config_ref/index.md
----------------------------------------------------------------------
diff --git a/www/docs/en/6.x/config_ref/index.md b/www/docs/en/6.x/config_ref/index.md
index 26d428e..0e50d13 100644
--- a/www/docs/en/6.x/config_ref/index.md
+++ b/www/docs/en/6.x/config_ref/index.md
@@ -468,6 +468,23 @@ Examples:
 <hook type="after_plugin_install" src="scripts/afterPluginInstall.js" />
 ```
 
+## resource-file
+
+This tag installs resource files into your platform, and is similar to the same tag in plugin.xml.
This tag is currently only supported on `cordova-ios@4.4.0` or greater and `cordova-android@6.2.1`
or greater.
+
+Attributes(type) <br/> <span class="sub-header">Only for platform:</span>
| Description
+---------------- | ------------
+src(string) <br/> ==iOS== ==Android==| *Required* <br/> Location of the file
relative to `config.xml`.
+target(string) | Path to where the file will be copied in your directory.
+
+Examples:
+
+For Android:
+```xml
+<resource-file src="FooPluginStrings.xml" target="res/values/FooPluginStrings.xml" />
+```
+
+
 # Sample config.xml
 Below is a sample config.xml file:
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message