|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 | 2 | <!--
|
3 |
| - Licensed to the Apache Software Foundation (ASF) under one |
4 |
| - or more contributor license agreements. See the NOTICE file |
5 |
| - distributed with this work for additional information |
6 |
| - regarding copyright ownership. The ASF licenses this file |
7 |
| - to you under the Apache License, Version 2.0 (the |
8 |
| - "License"); you may not use this file except in compliance |
9 |
| - with the License. You may obtain a copy of the License at |
| 3 | + Licensed to the Apache Software Foundation (ASF) under one |
| 4 | + or more contributor license agreements. See the NOTICE file |
| 5 | + distributed with this work for additional information |
| 6 | + regarding copyright ownership. The ASF licenses this file |
| 7 | + to you under the Apache License, Version 2.0 (the |
| 8 | + "License"); you may not use this file except in compliance |
| 9 | + with the License. You may obtain a copy of the License at |
10 | 10 |
|
11 |
| - http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | + http://www.apache.org/licenses/LICENSE-2.0 |
12 | 12 |
|
13 |
| - Unless required by applicable law or agreed to in writing, |
14 |
| - software distributed under the License is distributed on an |
15 |
| - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
16 |
| - KIND, either express or implied. See the License for the |
17 |
| - specific language governing permissions and limitations |
18 |
| - under the License. |
| 13 | + Unless required by applicable law or agreed to in writing, |
| 14 | + software distributed under the License is distributed on an |
| 15 | + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 16 | + KIND, either express or implied. See the License for the |
| 17 | + specific language governing permissions and limitations |
| 18 | + under the License. |
19 | 19 | -->
|
20 |
| -<widget xmlns = "http://www.w3.org/ns/widgets" |
21 |
| - id = "io.cordova.helloCordova" |
22 |
| - version = "2.0.0"> |
| 20 | +<widget xmlns="http://www.w3.org/ns/widgets" |
| 21 | + xmlns:cdv="http://cordova.apache.org/ns/1.0" |
| 22 | + id="org.apache.cordova.hellocordova" |
| 23 | + version="1.0.0"> |
23 | 24 | <name>Hello Cordova</name>
|
24 |
| - |
25 | 25 | <description>
|
26 | 26 | A sample Apache Cordova application that responds to the deviceready event.
|
27 | 27 | </description>
|
28 |
| - |
29 |
| - <author href="http://cordova.io" email="dev@cordova.apache.org"> |
| 28 | + <author email="dev@cordova.apache.org" href="https://cordova.apache.org"> |
30 | 29 | Apache Cordova Team
|
31 | 30 | </author>
|
32 | 31 |
|
33 |
| - <!-- <content src="http://mysite.com/myapp.html" /> for external pages --> |
| 32 | + <!-- https://s.apache.org/cdv-content-config --> |
34 | 33 | <content src="index.html" />
|
35 | 34 |
|
36 |
| - <!-- Allow List docs: https://cordova.apache.org/docs/en/latest/ --> |
37 |
| - <access origin="*" /> |
38 |
| - <!-- Grant certain URLs the ability to launch external applications. This |
39 |
| - behaviour is set to match that of Cordova versions before 3.6.0, and |
40 |
| - should be reviewed before launching an application in production. It |
41 |
| - may be changed in the future. --> |
| 35 | + <!-- To allow connections to other resources, you must explicitly permit them using `access` tags. --> |
| 36 | + <!-- https://s.apache.org/cdv-network-request-access --> |
| 37 | + <!-- Example: |
| 38 | + <access origin="https://cordova.apache.org" /> |
| 39 | + --> |
| 40 | + |
| 41 | + <!-- To control which URLs the WebView itself can be navigated to, use the `allow-navigation` tags. --> |
| 42 | + <!-- https://s.apache.org/cdv-allow-navigation --> |
| 43 | + <!-- Example: |
| 44 | + <allow-navigation href="https://cordova.apache.org/*" /> |
| 45 | + --> |
| 46 | + |
| 47 | + <!-- To control which URLs the app is allowed to ask the system to open, use the `allow-intent` tags. --> |
| 48 | + <!-- https://s.apache.org/cdv-allow-intent --> |
42 | 49 | <allow-intent href="http://*/*" />
|
43 | 50 | <allow-intent href="https://*/*" />
|
44 |
| - <allow-intent href="tel:*" /> |
45 |
| - <allow-intent href="sms:*" /> |
46 |
| - <allow-intent href="mailto:*" /> |
47 |
| - <allow-intent href="geo:*" /> |
48 |
| - <allow-intent href="market:*" /> |
49 | 51 |
|
50 | 52 | <preference name="loglevel" value="DEBUG" />
|
51 |
| - <!-- |
52 |
| - <preference name="loadUrlTimeoutValue" value="20000" /> |
53 |
| - <preference name="InAppBrowserStorageEnabled" value="true" /> |
54 |
| - <preference name="disallowOverscroll" value="true" /> |
55 |
| - --> |
56 | 53 | </widget>
|
0 commit comments