-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathconfig.xml
90 lines (76 loc) · 4.55 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
88
89
90
<?xml version='1.0' encoding='utf-8'?>
<widget id="org.projectaon.kaichronicles" version="1.12" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<!-- CORDOVA CONFIGURATION FILE -->
<name>Kai Chronicles</name>
<description>
Game player for Lone Wolf gamebooks 1 - 13
</description>
<author email="[email protected]" href="https://www.projectaon.org">
Project AON
</author>
<content src="index.html" />
<!-- TODO: Fix plugin versions to use -->
<!-- Core plugins -->
<plugin name="cordova-plugin-whitelist" />
<plugin name="cordova-plugin-file" />
<plugin name="cordova-plugin-splashscreen" />
<plugin name="cordova-plugin-file-transfer" />
<plugin name="cordova-plugin-network-information" />
<!-- External plugins -->
<!-- https://github.com/MobileChromeApps/cordova-plugin-zip -->
<plugin name="cordova-plugin-zip" />
<!-- https://github.com/FortuneN/cordova-plugin-zeep -->
<plugin name="cordova-plugin-zeep" />
<plugin name="com.megster.cordova.FileChooser" spec="https://github.com/ihadeed/cordova-filechooser.git" />
<plugin name="cordova-plugin-document-contract" spec="https://github.com/danjarvis/cordova-plugin-document-contract.git" />
<plugin name="cordova-plugin-copytodownload" spec="https://github.com/tonib/cordova-plugin-copytodownload.git" />
<plugin name="cordova-plugin-exclude-files" />
<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:*" />
<icon density="xxxhdpi" height="192" platform="android" src="res/android/xxxhdpi.png" width="192" />
<!-- Do not include PAON data in the APK (cordova-plugin-exclude-files) -->
<exclude-files pattern="data/projectAon" />
<platform name="android">
<!--
- Min version is 4.4.2 (API 19), the first one that uses
Chromium (Chrome v32), the previous fails to render Bootstrap.
- The Project Aon hosting only supports TLS 1.2 or greater. Android 4.4 don't support TLS 1.2.
So, min supported API is 5.0.0 (API 21)
UPDATE v.12. With latest Cordova version, min API is 22, so this do not longer applies
-->
<!--preference name="android-minSdkVersion" value="21" /-->
<allow-intent href="market:*" />
<!-- Icons -->
<icon src="res/android/xxhdpi.png" />
<icon density="ldpi" src="res/android/icons/ldpi.png" />
<icon density="mdpi" src="res/android/icons/mdpi.png" />
<icon density="hdpi" src="res/android/icons/hdpi.png" />
<icon density="xhdpi" src="res/android/icons/xhdpi.png" />
<icon density="xxhdpi" src="res/android/icons/xxhdpi.png" />
<icon density="xxxhdpi" src="res/android/icons/xxxhdpi.png" />
<!-- Splashes -->
<!-- These defaults are required to avoid "MissingDefaultResource" warnings in Cordova 9.0
(see https://github.com/apache/cordova-android/issues/689) -->
<splash density="hdpi" src="res/android/splashes/drawable-port-hdpi.png" />
<splash density="ldpi" src="res/android/splashes/drawable-port-ldpi.png" />
<splash density="mdpi" src="res/android/splashes/drawable-port-mdpi.png" />
<splash density="xhdpi" src="res/android/splashes/drawable-port-xhdpi.png" />
<splash density="land-hdpi" src="res/android/splashes/drawable-land-hdpi.png" />
<splash density="land-ldpi" src="res/android/splashes/drawable-land-ldpi.png" />
<splash density="land-mdpi" src="res/android/splashes/drawable-land-mdpi.png" />
<splash density="land-xhdpi" src="res/android/splashes/drawable-land-xhdpi.png" />
<splash density="port-hdpi" src="res/android/splashes/drawable-port-hdpi.png" />
<splash density="port-ldpi" src="res/android/splashes/drawable-port-ldpi.png" />
<splash density="port-mdpi" src="res/android/splashes/drawable-port-mdpi.png" />
<splash density="port-xhdpi" src="res/android/splashes/drawable-port-xhdpi.png" />
<!-- This is only needed for local debug, to allow http connections (Android >= 8 by default allow only https requests) -->
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application" xmlns:android="http://schemas.android.com/apk/res/android">
<application android:usesCleartextTraffic="true" />
</edit-config>
</platform>
</widget>