cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omef...@apache.org
Subject [08/11] docs commit: Added sample config.xml content
Date Tue, 02 Feb 2016 21:05:41 GMT
Added sample config.xml content


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

Branch: refs/heads/master
Commit: 4e37a7dbee01ed9587572e1b0cc26900edcbf392
Parents: 624044c
Author: Omar Mefire <omefire@gmail.com>
Authored: Wed Jan 27 13:30:57 2016 -0800
Committer: Omar Mefire <omefire@gmail.com>
Committed: Tue Feb 2 12:50:33 2016 -0800

----------------------------------------------------------------------
 www/docs/en/dev/config_ref/index.md | 31 ++++++++++++++++++++++++++++++-
 1 file changed, 30 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/4e37a7db/www/docs/en/dev/config_ref/index.md
----------------------------------------------------------------------
diff --git a/www/docs/en/dev/config_ref/index.md b/www/docs/en/dev/config_ref/index.md
index 4bc1b14..40052c3 100644
--- a/www/docs/en/dev/config_ref/index.md
+++ b/www/docs/en/dev/config_ref/index.md
@@ -325,4 +325,33 @@ platform. See [Icons and Splash Screens](images.html) for more information.
    Examples:
    
     <hook type="after_plugin_install" src="scripts/afterPluginInstall.js" />
-    
\ No newline at end of file
+    
+# Sample config.xml
+  Below is a sample config.xml file:
+  
+    <?xml version='1.0' encoding='utf-8'?>
+    <widget id="io.cordova.hellocordova" version="0.0.1" xmlns="http://www.w3.org/ns/widgets"
xmlns:cdv="http://cordova.apache.org/ns/1.0">
+        <name>HelloCordova</name>
+        <description>
+            A sample Apache Cordova application that responds to the deviceready event.
+        </description>
+        <author email="dev@cordova.apache.org" href="http://cordova.io">
+            Apache Cordova Team
+        </author>
+        <content src="index.html" />
+        <plugin name="cordova-plugin-whitelist" version="1" />
+        <access origin="*" />
+        <allow-intent href="http://*/*" />
+        <allow-intent href="https://*/*" />
+        <allow-intent href="tel:*" />
+        <allow-intent href="sms:*" />
+        <allow-intent href="mailto:*" />
+        <allow-intent href="geo:*" />
+        <platform name="android">
+            <allow-intent href="market:*" />
+        </platform>
+        <platform name="ios">
+            <allow-intent href="itms:*" />
+            <allow-intent href="itms-apps:*" />
+        </platform>
+    </widget>
\ No newline at end of file


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


Mime
View raw message