-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.xml
87 lines (75 loc) · 4.78 KB
/
config.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?xml version="1.0" encoding="UTF-8"?>
<!-- config.xml reference: https://build.phonegap.com/docs/config-xml -->
<widget id = "info.dehoeksteen.opensongremote"
version = "1.0.4"
xmlns="http://www.w3.org/ns/widgets"
xmlns:gap="http://phonegap.com/ns/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>OpenSongRemote</name>
<description>
Remote control for Opensong (www.opensong.org)
</description>
<author href="http://home.solcon.nl/c.r.berensen" email="roland@solcon.nl">
CRB
</author>
<preference name='phonegap-version' value='cli-9.0.0' />
<feature name="http://api.phonegap.com/1.0/device" />
<!--
If you do not want any permissions to be added to your app, add the
following tag to your config.xml; you will still have the INTERNET
permission on your app, which PhoneGap requires.
-->
<preference name="permissions" value="none"/>
<!-- Customize your app and platform with the preference element. -->
<preference name="orientation" value="default" /> <!-- all: default means both landscape and portrait are enabled -->
<preference name="target-device" value="universal" /> <!-- all: possible values handset, tablet, or universal -->
<preference name="fullscreen" value="false" /> <!-- all: hides the status bar at the top of the screen -->
<preference name="webviewbounce" value="true" /> <!-- ios: control whether the screen 'bounces' when scrolled beyond the top -->
<preference name="prerendered-icon" value="true" /> <!-- ios: if icon is prerendered, iOS will not apply it's gloss to the app's icon on the user's home screen -->
<preference name="stay-in-webview" value="false" /> <!-- ios: external links should open in the default browser, 'true' would use the webview the app lives in -->
<preference name="ios-statusbarstyle" value="black-opaque" /> <!-- ios: black-translucent will appear black because the PhoneGap webview doesn't go beneath the status bar -->
<preference name="detect-data-types" value="true" /> <!-- ios: controls whether data types (such as phone no. and dates) are automatically turned into links by the system -->
<preference name="exit-on-suspend" value="false" /> <!-- ios: if set to true, app will terminate when home button is pressed -->
<plugin name="cordova-plugin-splashscreen" source="npm" />
<plugin name="cordova-plugin-whitelist" source="npm" />
<preference name="SplashScreen" value="screen" />
<preference name="SplashScreenDelay" value="2000" />
<preference name="show-splash-screen-spinner" value="true" /> <!-- ios: if set to false, the spinner won't appear on the splash screen during app loading -->
<preference name="auto-hide-splash-screen" value="true" /> <!-- ios: if set to false, the splash screen must be hidden using a JavaScript API -->
<!-- Define app icon for each platform. -->
<platform name="android">
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
<application android:usesCleartextTraffic="true" />
</edit-config>
<preference name="android-minSdkVersion" value="19" /> <!-- android: MIN SDK version supported on the target device. MAX version is blank by default. -->
<preference name="android-targetSdkVersion" value="29" />
<preference name="android-installLocation" value="auto" /> <!-- android: app install location. 'auto' will choose. 'internalOnly' is device memory. 'preferExternal' is SDCard. -->
<!--
ldpi : 36x36 px
mdpi : 48x48 px
hdpi : 72x72 px
xhdpi : 96x96 px
xxhdpi : 144x144 px
xxxhdpi : 192x192 px
<icon src="files/images/OpenSongLogo.png" />
-->
<icon src="res/android/icon/icon-36.png" density="ldpi" />
<icon src="res/android/icon/icon-48.png" density="mdpi" />
<icon src="res/android/icon/icon-72.png" density="hdpi" />
<icon src="res/android/icon/icon-96.png" density="xhdpi" />
<icon src="res/android/icon/icon-144.png" density="xxhdpi" />
<icon src="res/android/icon/icon-192.png" density="xxxhdpi" />
<preference name="SplashScreen" value="splash" />
<splash src="res/android/splash/splash-320x426.png" density="port-ldpi"/>
<splash src="res/android/splash/splash-320x470.png" density="port-mdpi"/>
<splash src="res/android/splash/splash-480x640.png" density="port-hdpi"/>
<splash src="res/android/splash/splash-720x960.png" density="port-xhdpi"/>
</platform>
<!--
Define access to external domains.
-->
<access origin="*" /> <!-- allow all pages -->
<allow-intent href="*" />
<allow-navigation href="*" />
</widget>