-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathconfig.xml
238 lines (238 loc) · 14.4 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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
<?xml version='1.0' encoding='utf-8'?>
<widget id="il.org.osm.israelhiking" version="9.3.0" 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>Israel Hiking Map</name>
<description>An application for outdoor navigation.</description>
<author email="IsraelHikingMap@gmail.com" href="http://israelhiking.osm.org.il">Israel Hiking Map</author>
<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-intent href="whatsapp:*" />
<platform name="android">
<allow-intent href="market:*" />
<preference name="android-targetSdkVersion" value="28" />
<preference name="android-minSdkVersion" value="21" />
<preference name="AndroidLaunchMode" value="singleInstance" />
<icon density="ldpi" src="www/content/favicons/android-chrome-36x36.png" />
<icon density="mdpi" src="www/content/favicons/android-chrome-48x48.png" />
<icon density="hdpi" src="www/content/favicons/android-chrome-72x72.png" />
<icon density="xhdpi" src="www/content/favicons/android-chrome-96x96.png" />
<icon density="xxhdpi" src="www/content/favicons/android-chrome-144x144.png" />
<icon density="xxxhdpi" src="www/content/favicons/android-chrome-192x192.png" />
<edit-config file="AndroidManifest.xml" mode="merge" target="/manifest/uses-permission" xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
</edit-config>
<config-file parent="/manifest/application/activity" target="AndroidManifest.xml">
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/jpeg" />
<data android:mimeType="image/jpg" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:host="*" android:scheme="http" />
<data android:host="*" android:scheme="https" />
<data android:host="*" android:scheme="content" />
<data android:mimeType="application/gpx" />
<data android:mimeType="application/vnd.google-earth.kml+xml" />
<data android:mimeType="application/vnd.google-earth.kmz" />
<data android:mimeType="text/xml" />
<data android:mimeType="text/plain" />
<data android:mimeType="text/gpx" />
<data android:mimeType="text/kml" />
<data android:mimeType="text/kmz" />
<data android:mimeType="text/kml+xml" />
<data android:mimeType="text/kmz+xml" />
<data android:mimeType="text/gpx+xml" />
<data android:mimeType="text/xml+kml" />
<data android:mimeType="text/xml+kmz" />
<data android:mimeType="text/xml+gpx" />
<data android:mimeType="application/gpx+xml" />
<data android:mimeType="application/kml" />
<data android:mimeType="application/kml+xml" />
<data android:mimeType="application/kmz" />
<data android:mimeType="application/kmz+xml" />
<data android:mimeType="application/octet-stream" />
<data android:mimeType="application/xml" />
<data android:mimeType="image/jpeg" />
<data android:mimeType="image/jpg" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" android:host="*" android:pathPattern=".*\.gpx" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" android:host="*" android:pathPattern=".*\.gpx" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" android:host="*" android:pathPattern=".*\.kml" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" android:host="*" android:pathPattern=".*\.kml" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" android:host="*" android:pathPattern=".*\.kmz" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" android:host="*" android:pathPattern=".*\.kmz" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:mimeType="*/*" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\.gpx" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\..*\.gpx" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\..*\..*\.gpx" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\..*\..*\..*\.gpx" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\.kml" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\..*\.kml" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\..*\..*\.kml" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\..*\..*\..*\.kml" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\.kmz" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\..*\.kmz" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\..*\..*\.kmz" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\..*\..*\..*\.kmz" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\.twl" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\..*\.twl" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\..*\..*\.twl" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\..*\..*\..*\.twl" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\.jpg" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\..*\.jpg" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\..*\..*\.jpg" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\..*\..*\..*\.jpg" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\.jpeg" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\..*\.jpeg" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\..*\..*\.jpeg" />
<data android:scheme="file" android:host="*" android:pathPattern=".*\..*\..*\..*\.jpeg" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:host="israelhiking.osm.org.il" android:pathPattern="/share/.*" android:scheme="https" />
<data android:host="israelhiking.osm.org.il" android:pathPattern="/poi/.*" android:scheme="https" />
<data android:host="israelhiking.osm.org.il" android:pathPattern="/url/.*" android:scheme="https" />
<data android:host="israelhiking.osm.org.il" android:pathPattern="/map/.*" android:scheme="https" />
<data android:host="israelhiking.osm.org.il" android:pathPattern="/" android:scheme="https" />
<data android:host="israelhiking.osm.org.il" android:pathPattern="" android:scheme="https" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:host="maps.google.com" android:scheme="http"/>
<data android:host="maps.google.com" android:scheme="https" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:host="www.google.com" android:pathPattern="/maps/place/.*" android:scheme="http" />
<data android:host="www.google.com" android:pathPattern="/maps/place/.*" android:scheme="https"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="geo"/>
</intent-filter>
</config-file>
</platform>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
<preference name="deployment-target" value="13.0" />
<preference name="AutoHideSplashScreen" value="true" />
<preference name="SplashScreenDelay" value="0" />
<preference name="FadeSplashScreenDuration" value="0" />
<splash src="www/content/favicons/Default@2x~universal~anyany.png" />
<edit-config target="NSCameraUsageDescription" file="*-Info.plist" mode="merge">
<string>We need the camera in order to take a picture</string>
</edit-config>
<edit-config target="NSPhotoLibraryUsageDescription" file="*-Info.plist" mode="merge">
<string>We need access to the photo library to get pictures from there</string>
</edit-config>
<edit-config target="NSPhotoLibraryAddUsageDescription" file="*-Info.plist" mode="merge">
<string>We need access to the photo library to save pictures there</string>
</edit-config>
<edit-config target="NSLocationAlwaysUsageDescription" file="*-Info.plist" mode="merge">
<string>We need to access your location in order to be able to show it on the map while navigating</string>
</edit-config>
<edit-config target="NSLocationWhenInUseUsageDescription" file="*-Info.plist" mode="merge">
<string>We need to access your location in order to be able to show it on the map while navigating</string>
</edit-config>
<edit-config target="NSMotionUsageDescription" file="*-Info.plist" mode="merge">
<string>We need to access your motion direction in order to be able to show it on the map while navigating</string>
</edit-config>
<edit-config target="UIFileSharingEnabled" file="*-Info.plist" mode="overwrite">
<true/>
</edit-config>
<edit-config target="LSSupportsOpeningDocumentsInPlace" file="*-Info.plist" mode="overwrite">
<true/>
</edit-config>
<edit-config target="CFBundleLocalizations" file="*-Info.plist" mode="overwrite">
<array>
<string>en</string>
<string>he</string>
</array>
</edit-config>
<preference name="WKWebViewOnly" value="true" />
<preference name="WKSuspendInBackground" value="false" />
<preference name="StatusBarOverlaysWebView" value="false" />
<preference name="StatusBarBackgroundColor" value="#0a42bb" />
<icon src="www/content/favicons/icon.png" height="57" width="57" />
<icon src="www/content/favicons/icon@2x.png" height="114" width="114" />
<icon src="www/content/favicons/icon-20.png" height="20" width="20" />
<icon src="www/content/favicons/icon-20@2x.png" height="40" width="40" />
<icon src="www/content/favicons/icon-40.png" height="40" width="40" />
<icon src="www/content/favicons/icon-40@2x.png" height="80" width="80" />
<icon src="www/content/favicons/icon-40@3x.png" height="80" width="120" />
<icon src="www/content/favicons/icon-50.png" height="50" width="50" />
<icon src="www/content/favicons/icon-50@2x.png" height="100" width="100" />
<icon src="www/content/favicons/icon-60.png" height="60" width="60" />
<icon src="www/content/favicons/icon-60@2x.png" height="120" width="120" />
<icon src="www/content/favicons/icon-60@3x.png" height="180" width="180" />
<icon src="www/content/favicons/icon-72.png" height="72" width="72" />
<icon src="www/content/favicons/icon-72@2x.png" height="144" width="144" />
<icon src="www/content/favicons/icon-76.png" height="76" width="76" />
<icon src="www/content/favicons/icon-76@2x.png" height="152" width="152" />
<icon src="www/content/favicons/icon-83.5@2x.png" height="167" width="167" />
<icon src="www/content/favicons/icon-small.png" height="29" width="29" />
<icon src="www/content/favicons/icon-small@2x.png" height="58" width="58" />
<icon src="www/content/favicons/icon-small@3x.png" height="87" width="87" />
<icon src="www/content/favicons/icon-1024.png" height="1024" width="1024" />
</platform>
<plugin name="cordova-plugin-mauron85-background-geolocation" spec="@mauron85/cordova-plugin-background-geolocation@~3.0.6">
<variable name="GOOGLE_PLAY_SERVICES_VERSION" value="11+" />
<variable name="ANDROID_SUPPORT_LIBRARY_VERSION" value="26+" />
<variable name="ICON" value="@mipmap/ic_launcher" />
<variable name="SMALL_ICON" value="@mipmap/ic_launcher" />
<variable name="ALWAYS_USAGE_DESCRIPTION" value="App requires background tracking " />
<variable name="MOTION_USAGE_DESCRIPTION" value="App requires motion detection" />
</plugin>
</widget>