-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.xml
183 lines (163 loc) · 7.2 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
<?xml version="1.0" encoding="utf-8"?>
<widget xmlns="http://www.w3.org/ns/widgets"
xmlns:cdv="http://cordova.apache.org/ns/1.0"
id="de.codeschluss.wuppngo"
android-versionCode="0420"
ios-CFBundleVersion="0.4.2.0"
version="0.4.2">
<author
email="info@codeschluss.de"
href="https://www.codeschluss.de">
Codeschluss GbR
</author>
<name>
Wupp'n'go
</name>
<description>
An informative portal for Wuppertals youth
</description>
<access origin="https://www.wuppngo.de"/>
<access origin="https://*.tile.openstreetmap.org"/>
<access origin="https://vimeo.com/api/v2/video/"/>
<access origin="https://i.vimeocdn.com/video/"/>
<access origin="https://img.youtube.com/vi/"/>
<allow-intent href="http://*/*"/>
<allow-intent href="https://*/*"/>
<allow-intent href="mailto:*"/>
<allow-intent href="tel:*"/>
<content src="index.html"/>
<preference name="Orientation" value="portrait"/>
<preference name="AutoHideSplashScreen" value="false"/>
<preference name="ShowSplashScreenSpinner" value="false"/>
<preference name="SplashMaintainAspectRatio" value="true"/>
<preference name="AndroidInsecureFileModeEnabled" value="true"/>
<platform name="browser">
<preference name="AutoHideSplashScreen" value="true"/>
<preference name="ShowSplashScreen" value="false"/>
</platform>
<platform name="android">
<config-file
parent="/manifest/application"
target="app/src/main/AndroidManifest.xml">
<meta-data
xmlns:android="http://schemas.android.com/apk/res/android"
android:name="firebase_analytics_collection_deactivated"
android:value="true"/>
<meta-data
xmlns:android="http://schemas.android.com/apk/res/android"
android:name="com.google.firebase.messaging.default_notification_color"
android:resource="@color/primary"/>
<meta-data
xmlns:android="http://schemas.android.com/apk/res/android"
android:name="com.google.firebase.messaging.default_notification_icon"
android:resource="@drawable/notification"/>
</config-file>
<edit-config mode="merge"
file="app/src/main/AndroidManifest.xml"
target="/manifest/application">
<application
xmlns:android="http://schemas.android.com/apk/res/android"
android:usesCleartextTraffic="true"/>
</edit-config>
<resource-file
src="res/android/google-services.json"
target="app/google-services.json"/>
<resource-file
src="res/android/colors.xml"
target="app/src/main/res/values/colors.xml"/>
<resource-file
src="res/android/notification/mdpi.png"
target="app/src/main/res/drawable-mdpi/notification.png"/>
<resource-file
src="res/android/notification/hdpi.png"
target="app/src/main/res/drawable-hdpi/notification.png"/>
<resource-file
src="res/android/notification/xhdpi.png"
target="app/src/main/res/drawable-xhdpi/notification.png"/>
<resource-file
src="res/android/notification/xxhdpi.png"
target="app/src/main/res/drawable-xxhdpi/notification.png"/>
<resource-file
src="res/android/notification/xxxhdpi.png"
target="app/src/main/res/drawable-xxxhdpi/notification.png"/>
<edit-config mode="merge"
file="app/src/main/AndroidManifest.xml"
target="/manifest/application">
<application
xmlns:android="http://schemas.android.com/apk/res/android"
android:roundIcon="@drawable/round_icon"/>
</edit-config>
<resource-file
src="res/android/round-icon/mdpi.png"
target="app/src/main/res/drawable-mdpi/round_icon.png"/>
<resource-file
src="res/android/round-icon/hdpi.png"
target="app/src/main/res/drawable-hdpi/round_icon.png"/>
<resource-file
src="res/android/round-icon/xhdpi.png"
target="app/src/main/res/drawable-xhdpi/round_icon.png"/>
<resource-file
src="res/android/round-icon/xxhdpi.png"
target="app/src/main/res/drawable-xxhdpi/round_icon.png"/>
<resource-file
src="res/android/round-icon/xxxhdpi.png"
target="app/src/main/res/drawable-xxxhdpi/round_icon.png"/>
<icon density="mdpi" src="res/android/icon/mdpi.png"/>
<icon density="hdpi" src="res/android/icon/hdpi.png"/>
<icon density="xhdpi" src="res/android/icon/xhdpi.png"/>
<icon density="xxhdpi" src="res/android/icon/xxhdpi.png"/>
<icon density="xxxhdpi" src="res/android/icon/xxxhdpi.png"/>
<splash density="hdpi" src="res/android/splashscreen/hdpi.png"/>
<splash density="mdpi" src="res/android/splashscreen/mdpi.png"/>
<splash density="xhdpi" src="res/android/splashscreen/xhdpi.png"/>
<splash density="xxhdpi" src="res/android/splashscreen/xxhdpi.png"/>
<splash density="xxxhdpi" src="res/android/splashscreen/xxxhdpi.png"/>
</platform>
<platform name="ios">
<preference name="scheme" value="app"/>
<preference name="hostname" value="localhost"/>
<resource-file src="res/ios/GoogleService-Info.plist"/>
<edit-config mode="merge" file="*-Info.plist"
target="NSLocationAlwaysUsageDescription">
<string>Position, Route etc.</string>
</edit-config>
<edit-config mode="merge" file="*-Info.plist"
target="NSCameraUsageDescription">
<string>Account profiles, organisations, blogs, etc.</string>
</edit-config>
<edit-config mode="merge" file="*-Info.plist"
target="NSLocationWhenInUseUsageDescription">
<string>Position, Route etc.</string>
</edit-config>
<edit-config mode="merge" file="*-Info.plist"
target="NSLocationAlwaysAndWhenInUseUsageDescription">
<string>Position, Route etc.</string>
</edit-config>
<icon width="20" height="20" src="res/ios/icon/20.png"/>
<icon width="29" height="29" src="res/ios/icon/29.png"/>
<icon width="40" height="40" src="res/ios/icon/40.png"/>
<icon width="48" height="48" src="res/ios/icon/48.png"/>
<icon width="50" height="50" src="res/ios/icon/50.png"/>
<icon width="55" height="55" src="res/ios/icon/55.png"/>
<icon width="57" height="57" src="res/ios/icon/57.png"/>
<icon width="58" height="58" src="res/ios/icon/58.png"/>
<icon width="60" height="60" src="res/ios/icon/60.png"/>
<icon width="72" height="72" src="res/ios/icon/72.png"/>
<icon width="76" height="76" src="res/ios/icon/76.png"/>
<icon width="80" height="80" src="res/ios/icon/80.png"/>
<icon width="87" height="87" src="res/ios/icon/87.png"/>
<icon width="88" height="88" src="res/ios/icon/88.png"/>
<icon width="100" height="100" src="res/ios/icon/100.png"/>
<icon width="114" height="114" src="res/ios/icon/114.png"/>
<icon width="120" height="120" src="res/ios/icon/120.png"/>
<icon width="144" height="144" src="res/ios/icon/144.png"/>
<icon width="152" height="152" src="res/ios/icon/152.png"/>
<icon width="167" height="167" src="res/ios/icon/167.png"/>
<icon width="172" height="172" src="res/ios/icon/172.png"/>
<icon width="180" height="180" src="res/ios/icon/180.png"/>
<icon width="196" height="196" src="res/ios/icon/196.png"/>
<icon width="1024" height="1024" src="res/ios/icon/1024.png"/>
<splash src="res/ios/splashscreen/Default@2x~universal~anyany.png"/>
<splash src="res/ios/splashscreen/Default@3x~universal~anyany.png"/>
</platform>
</widget>