You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2015/03/20 19:35:34 UTC
cordova-app-hello-world git commit: CB-8716 Add Whitelist plugin to
config.xml
Repository: cordova-app-hello-world
Updated Branches:
refs/heads/master ff79d3a08 -> 2e856b845
CB-8716 Add Whitelist plugin to config.xml
Project: http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/commit/2e856b84
Tree: http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/tree/2e856b84
Diff: http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/diff/2e856b84
Branch: refs/heads/master
Commit: 2e856b845a0134e7056bdc74f89cafcf483a379f
Parents: ff79d3a
Author: Andrew Grieve <ag...@chromium.org>
Authored: Fri Mar 20 14:33:54 2015 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Fri Mar 20 14:35:10 2015 -0400
----------------------------------------------------------------------
config.xml | 15 +++++++++++++++
1 file changed, 15 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-app-hello-world/blob/2e856b84/config.xml
----------------------------------------------------------------------
diff --git a/config.xml b/config.xml
index e13ced8..4d1c90f 100644
--- a/config.xml
+++ b/config.xml
@@ -26,5 +26,20 @@
Apache Cordova Team
</author>
<content src="index.html" />
+ <!-- Whitelist configuration. Refer to https://cordova.apache.org/docs/en/edge/guide_appdev_whitelist_index.md.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>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org