-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.xml
104 lines (104 loc) · 6.19 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.unicef.cboard" version="1.34.6" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>AAC Cboard</name>
<description>
AAC communication board with text-to-speech.
</description>
<content src="index.html" />
<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:*" />
<allow-navigation href="https://*.cboard.io/*" />
<allow-navigation href="https://*.google.com/*" />
<allow-navigation href="https://*.facebook.com/*" />
<platform name="android">
<allow-intent href="market:*" />
<preference name="AndroidPersistentFileLocation" value="Compatibility" />
<preference name="LoadingDialog" value="Wait for loading" />
<preference name="HideKeyboardFormAccessoryBar" value="true" />
<preference name="Fullscreen" value="true" />
<preference name="StatusBarOverlaysWebView" value="true" />
<preference name="AndroidInsecureFileModeEnabled" value="true" />
<preference name="AndroidLaunchMode" value="singleTask" />
<preference name="android-minSdkVersion" value="24"/>
<preference name="android-targetSdkVersion" value="34" />
<preference name="resizeOnFullScreen" value="false" />
<config-file after="uses-sdk" parent="/manifest" target="AndroidManifest.xml">
<queries>
<intent>
<action android:name="android.intent.action.TTS_SERVICE" />
</intent>
</queries>
</config-file>
<config-file after="uses-permission" parent="/manifest" target="AndroidManifest.xml">
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
</config-file>
<resource-file src="public/res/values/colors.xml" target="/app/src/main/res/values/colors.xml" />
<icon background="@color/background" density="ldpi" foreground="public/images/pwa/android/android-launchericon-36-36.png" />
<icon background="@color/background" density="mdpi" foreground="public/images/pwa/android/android-launchericon-48-48.png" />
<icon background="@color/background" density="hdpi" foreground="public/images/pwa/android/android-launchericon-72-72.png" />
<icon background="@color/background" density="xhdpi" foreground="public/images/pwa/android/android-launchericon-96-96.png" />
<icon background="@color/background" density="xxhdpi" foreground="public/images/pwa/android/android-launchericon-144-144.png" />
<icon background="@color/background" density="xxxhdpi" foreground="public/images/pwa/android/android-launchericon-192-192.png" />
<preference name="AndroidWindowSplashScreenAnimatedIcon" value="public/res/screen/android/splashscreen.xml" />
<preference name="loadUrlTimeoutValue" value="60000" />
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
<application android:requestLegacyExternalStorage="true" android:usesCleartextTraffic="true" />
</edit-config>
</platform>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
<!-- iOS 8.0+ -->
<!-- iPhone 6 Plus -->
<icon src="public/images/artwork/180.png" width="180" height="180" />
<!-- iOS 7.0+ -->
<!-- iPhone / iPod Touch -->
<icon src="public/images/artwork/60.png" width="60" height="60" />
<icon src="public/images/artwork/120.png" width="120" height="120" />
<!-- iPad -->
<icon src="public/images/artwork/76.png" width="76" height="76" />
<icon src="public/images/artwork/152.png" width="152" height="152" />
<!-- Spotlight Icon -->
<icon src="public/images/artwork/40.png" width="40" height="40" />
<icon src="public/images/artwork/80.png" width="80" height="80" />
<!-- iOS 6.1 -->
<!-- iPhone / iPod Touch -->
<icon src="public/images/artwork/57.png" width="57" height="57" />
<icon src="public/images/artwork/114.png" width="114" height="114" />
<!-- iPad -->
<icon src="public/images/artwork/72.png" width="72" height="72" />
<icon src="public/images/artwork/144.png" width="144" height="144" />
<!-- iPad Pro -->
<icon src="public/images/artwork/167.png" width="167" height="167" />
<!-- iPhone Spotlight and Settings Icon -->
<icon src="public/images/artwork/20.png" width="20" height="20" />
<icon src="public/images/artwork/29.png" width="29" height="29" />
<icon src="public/images/artwork/58.png" width="58" height="58" />
<icon src="public/images/artwork/87.png" width="87" height="87" />
<!-- iPad Spotlight and Settings Icon -->
<icon src="public/images/artwork/50.png" width="50" height="50" />
<icon src="public/images/artwork/100.png" width="100" height="100" />
<!-- iTunes Marketing Image -->
<icon src="public/images/artwork/1024.png" width="1024" height="1024" />
<preference name="KeyboardResize" value="false" />
<preference name="scheme" value="app" />
<preference name="hostname" value="localhost" />
<preference name="iosPersistentFileLocation" value="Compatibility" />
</platform>
<platform name="electron">
<icon src="\www\images\artwork\logo_1x.png" target="app" />
<icon src="\www\images\artwork\logo_1x.png" target="installer" />
<preference name="ElectronSettingsFilePath" value="settings.json" />
</platform>
<preference name="Fullscreen" value="true" />
</widget>