| <?xml version='1.0' encoding='utf-8'?> |
| <widget android-packageName="io.cordova.hellocordova.android" id="io.cordova.hellocordova" ios-CFBundleIdentifier="io.cordova.hellocordova.ios" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> |
| <name>Hello Cordova</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" /> |
| <access origin="*" /> |
| |
| <!-- |
| <access> tests |
| |
| Test wildcard allow all. Note in ATS you can open up all, and have restrictions for certain domains. |
| This is to allow for example, an in-app-browser (*) but your own server communications must be https, for example. |
| --> |
| <access origin="*" /> |
| <!-- https, with subdomain wildcard, with attribute differences --> |
| <access origin="https://*.server01.com" /> <!-- equivalent to the next line --> |
| <access origin="https://*.server01.com" minimum-tls-version="TLSv1.2" requires-forward-secrecy="true" /> |
| <access origin="https://*.server02.com" minimum-tls-version="TLSv1.2" requires-forward-secrecy="false" /> |
| <access origin="https://*.server03.com" minimum-tls-version="TLSv1.1" requires-forward-secrecy="true" /> |
| <access origin="https://*.server04.com" minimum-tls-version="TLSv1.1" requires-forward-secrecy="false" /> |
| <!-- http, no subdomain wildcard, with attribute differences --> |
| <access origin="http://server05.com" /> <!-- equivalent to the next line --> |
| <access origin="http://server05.com" minimum-tls-version="TLSv1.2" requires-forward-secrecy="true" /> |
| <access origin="http://server06.com" minimum-tls-version="TLSv1.2" requires-forward-secrecy="false" /> |
| <access origin="http://server07.com" minimum-tls-version="TLSv1.1" requires-forward-secrecy="true" /> |
| <access origin="http://server08.com" minimum-tls-version="TLSv1.1" requires-forward-secrecy="false" /> |
| <!-- https, no subdomain wildcard, with attribute differences --> |
| <access origin="https://server09.com" /> <!-- equivalent to the next line --> |
| <access origin="https://server09.com" minimum-tls-version="TLSv1.2" requires-forward-secrecy="true" /> |
| <access origin="https://server10.com" minimum-tls-version="TLSv1.2" requires-forward-secrecy="false" /> |
| <access origin="https://server11.com" minimum-tls-version="TLSv1.1" requires-forward-secrecy="true" /> |
| <access origin="https://server12.com" minimum-tls-version="TLSv1.1" requires-forward-secrecy="false" /> |
| |
| <!-- |
| <allow-navigation> tests |
| |
| Test wildcard allow all. Note in ATS you can open up all, and have restrictions for certain domains. |
| This is to allow for example, an in-app-browser (*) but your own server communications must be https, for example. |
| --> |
| <allow-navigation href="*" /> |
| <!-- https, with subdomain wildcard, attribute differences --> |
| <allow-navigation href="https://*.server21.com" /> <!-- equivalent to the next line --> |
| <allow-navigation href="https://*.server21.com" minimum-tls-version="TLSv1.2" requires-forward-secrecy="true" /> |
| <allow-navigation href="https://*.server22.com" minimum-tls-version="TLSv1.2" requires-forward-secrecy="false" /> |
| <allow-navigation href="https://*.server23.com" minimum-tls-version="TLSv1.1" requires-forward-secrecy="true" /> |
| <allow-navigation href="https://*.server24.com" minimum-tls-version="TLSv1.1" requires-forward-secrecy="false" /> |
| <!-- http, no subdomain, with attribute differences --> |
| <allow-navigation href="http://server25.com" /> <!-- equivalent to the next line --> |
| <allow-navigation href="http://server25.com" minimum-tls-version="TLSv1.2" requires-forward-secrecy="true" /> |
| <allow-navigation href="http://server26.com" minimum-tls-version="TLSv1.2" requires-forward-secrecy="false" /> |
| <allow-navigation href="http://server27.com" minimum-tls-version="TLSv1.1" requires-forward-secrecy="true" /> |
| <allow-navigation href="http://server28.com" minimum-tls-version="TLSv1.1" requires-forward-secrecy="false" /> |
| <!-- https, no subdomain, with attribute differences --> |
| <allow-navigation href="https://server29.com" /> <!-- equivalent to the next line --> |
| <allow-navigation href="https://server29.com" minimum-tls-version="TLSv1.2" requires-forward-secrecy="true" /> |
| <allow-navigation href="https://server30.com" minimum-tls-version="TLSv1.2" requires-forward-secrecy="false" /> |
| <allow-navigation href="https://server31.com" minimum-tls-version="TLSv1.1" requires-forward-secrecy="true" /> |
| <allow-navigation href="https://server32.com" minimum-tls-version="TLSv1.1" requires-forward-secrecy="false" /> |
| <!-- wildcard scheme, with subdomain wildcard, with attribute differences --> |
| <allow-navigation href="*://*.server33.com" /> <!-- equivalent to the next line --> |
| <allow-navigation href="*://*.server33.com" minimum-tls-version="TLSv1.2" requires-forward-secrecy="true" /> |
| <allow-navigation href="*://*.server34.com" minimum-tls-version="TLSv1.2" requires-forward-secrecy="false" /> |
| <allow-navigation href="*://*.server35.com" minimum-tls-version="TLSv1.1" requires-forward-secrecy="true" /> |
| <allow-navigation href="*://*.server36.com" minimum-tls-version="TLSv1.1" requires-forward-secrecy="false" /> |
| <!-- wildcard scheme, no subdomain, with attribute differences --> |
| <allow-navigation href="*://server37.com" /> <!-- equivalent to the next line --> |
| <allow-navigation href="*://server37.com" minimum-tls-version="TLSv1.2" requires-forward-secrecy="true" /> |
| <allow-navigation href="*://server38.com" minimum-tls-version="TLSv1.2" requires-forward-secrecy="false" /> |
| <allow-navigation href="*://server39.com" minimum-tls-version="TLSv1.1" requires-forward-secrecy="true" /> |
| <allow-navigation href="*://server40.com" minimum-tls-version="TLSv1.1" requires-forward-secrecy="false" /> |
| |
| <allow-intent href="https://*" /> |
| <allow-intent href="com.example.myapp:*" /> |
| |
| <preference name="fullscreen" value="true" /> |
| <preference name="webviewbounce" value="true" /> |
| <preference name="orientation" value="portrait" /> |
| <icon id="icon" src="icon.png" /> |
| <icon height="255" id="logo" src="logo.png" width="255" /> |
| <platform name="android"></platform> |
| <platform name="android"> |
| <icon density="mdpi" height="255" src="logo-android.png" width="255" /> |
| <icon gap:density="mdpi" height="255" src="logo-android-gap.png" width="255" /> |
| <icon cdv:density="mdpi" height="255" src="logo-android-cdv.png" width="255" /> |
| <resource-file src="appconfig.json" target="appconfig.json" /> |
| <resource-file src="androidconfig.json" target="androidconfig.json" /> |
| <preference name="android-minSdkVersion" value="10" /> |
| <preference name="orientation" value="landscape" /> |
| <edit-config file="AndroidManifest.xml" target="/manifest/uses-sdk" mode="merge"> |
| <uses-sdk android:targetSdkVersion="24" /> |
| </edit-config> |
| <edit-config file="AndroidManifest.xml" target="/manifest/uses-sdk" mode="overwrite"> |
| <uses-sdk android:minSdkVersion="14" android:maxSdkVersion="24" android:targetSdkVersion="24" /> |
| </edit-config> |
| <edit-config file="AndroidManifest.xml" target="/manifest/uses-sdk" mode="remove"> |
| <uses-sdk android:maxSdkVersion="24" /> |
| </edit-config> |
| <config-file target="AndroidManifest.xml" parent="/manifest/application"> |
| <activity android:name="com.foo.Foo" android:label="@string/app_name"> |
| <intent-filter> |
| </intent-filter> |
| </activity> |
| </config-file> |
| </platform> |
| <platform name="windows"> |
| <icon src="res/windows/logo.scale-200.png" target="logo.png"/> |
| <icon src="res/windows/logo-small.scale-400.png" width="72" target="logo.png"/> |
| <icon src="res/windows/logo-small.scale-400_48.png" height="48" target="logo.png"/> |
| <resource-file src="windowsconfig.json" target="windowsconfig.json" arch="x86" device-target="all" /> |
| </platform> |
| <resource-file src="top-level-file.txt" target="toplevel.txt" /> |
| <plugin name="org.apache.cordova.pluginwithvars"> |
| <variable name="var" value="varvalue" /> |
| </plugin> |
| <plugin name="org.apache.cordova.pluginwithurl" src="http://cordova.apache.org/pluginwithurl" /> |
| <plugin name="org.apache.cordova.pluginwithversion" version="1.1.1" /> |
| <plugin name="org.apache.cordova.pluginwithurlandversion" src="http://cordova.apache.org/pluginwithurlandversion" version="1.1.1" /> |
| <plugin name="org.apache.cordova.justaplugin" /> |
| <feature name="Legacy plugin entry with version"> |
| <param name="id" value="org.apache.cordova.legacyfeatureversion" /> |
| <param name="version" value="1.2.3" /> |
| <param name="aVar" value="aValue" /> |
| </feature> |
| <feature name="Legacy plugin entry with url"> |
| <param name="id" value="org.apache.cordova.legacyfeatureurl" /> |
| <param name="url" value="http://cordova.apache.org/legacyfeatureurl" /> |
| </feature> |
| <feature name="Legacy plugin entry with version and url"> |
| <param name="id" value="org.apache.cordova.legacyfeatureversionandurl" /> |
| <param name="version" value="1.2.3" /> |
| <param name="url" value="http://cordova.apache.org/legacyfeatureversionandurl" /> |
| </feature> |
| </widget> |