You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by er...@apache.org on 2021/10/01 04:38:28 UTC
[cordova-app-hello-world] branch master updated:
cleanup!(config.xml): simplify defaults (#73)
This is an automated email from the ASF dual-hosted git repository.
erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-app-hello-world.git
The following commit(s) were added to refs/heads/master by this push:
new 3233dc9 cleanup!(config.xml): simplify defaults (#73)
3233dc9 is described below
commit 3233dc9dcef2d075c3996e73bb00c3d7b7bd7c5a
Author: エリス <er...@users.noreply.github.com>
AuthorDate: Fri Oct 1 13:38:23 2021 +0900
cleanup!(config.xml): simplify defaults (#73)
* cleanup!(config.xml): simplify defaults
* chore: add link to content tag documentation
---
template_src/config.xml | 41 +++++++++++++++++++++++------------------
1 file changed, 23 insertions(+), 18 deletions(-)
diff --git a/template_src/config.xml b/template_src/config.xml
index 61ebf33..9456761 100644
--- a/template_src/config.xml
+++ b/template_src/config.xml
@@ -17,28 +17,33 @@
specific language governing permissions and limitations
under the License.
-->
-<widget id="io.cordova.hellocordova" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
+<widget xmlns="http://www.w3.org/ns/widgets"
+ xmlns:cdv="http://cordova.apache.org/ns/1.0"
+ id="io.cordova.hellocordova"
+ version="1.0.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">
+ <description>Sample Apache Cordova App</description>
+ <author email="dev@cordova.apache.org" href="https://cordova.apache.org">
Apache Cordova Team
</author>
+
+ <!-- https://s.apache.org/cdv-content-config -->
<content src="index.html" />
- <!-- Allow list configuration can be found at: https://cordova.apache.org/docs/en/latest/ -->
- <access origin="*" />
+
+ <!-- To allow connections to other resources, you must explicitly permit them using `access` tags. -->
+ <!-- https://s.apache.org/cdv-network-request-access -->
+ <!-- Example:
+ <access allow="https://cordova.apache.org" />
+ -->
+
+ <!-- To control which URLs the WebView itself can be navigated to, use the `allow-navigation` tags. -->
+ <!-- https://s.apache.org/cdv-allow-navigation -->
+ <!-- Example:
+ <allow-navigation href="https://cordova.apache.org/*" />
+ -->
+
+ <!-- To control which URLs the app is allowed to ask the system to open, use the `allow-intent` tags. -->
+ <!-- https://s.apache.org/cdv-allow-intent -->
<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