-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.xml
172 lines (162 loc) · 10.8 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
<?xml version="1.0" encoding="utf-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="com.mzi.go" versionCode="1.7.0" version="1.7.0">
<name>Mzigo</name>
<description>
Mzigo Driver App
</description>
<author email="[email protected]" href="mzigo.io">
Mzigo
</author>
<content src="index.html"/>
<preference name="orientation" value="portrait"/>
<preference name="SplashScreenDelay" value="0"/>
<preference name="fullscreen" value="false"/>
<preference name="android-minSdkVersion" value="22"/>
<preference name="android-targetSdkVersion" value="29"/>
<preference name="KeepRunning" value="true"/>
<allow-navigation href="*"/>
<allow-intent href="itms:*"/>
<allow-intent href="itms-apps:*"/>
<gap:config-file platform="android" parent="/manifest">
<supports-screens android:xlargeScreens="true" android:largeScreens="true" android:smallScreens="true"/>
<application android:theme="@android:style/Theme.NoTitleBar">
</application>
</gap:config-file>
<platform name="ios">
<config-file platform="ios" target="*-Info.plist" parent="NSLocationAlwaysUsageDescription">
<string>This allows us to use your location to share nearby jobs</string>
</config-file>
<config-file platform="ios" target="*-Info.plist" parent="NSLocationWhenInUseUsageDescription">
<string>This allows us to use your location to share nearby jobs</string>
</config-file>
<preference name="orientation" value="portrait"/>
<edit-config target="NSCameraUsageDescription" file="*-Info.plist" mode="merge">
<string>Allow Mzigo to access your camera to take photos for your profile picture.</string>
</edit-config>
<edit-config target="NSPhotoLibraryUsageDescription" file="*-Info.plist" mode="merge">
<string>Enable Mzigo to access your photo library to access your media.</string>
</edit-config>
<edit-config target="NSLocationWhenInUseUsageDescription" file="*-Info.plist" mode="merge">
<string>This allows us to use your location to find jobs nearby.</string>
</edit-config>
<edit-config target="NSLocationAlwaysAndWhenInUseUsageDescription" file="*-Info.plist" mode="merge">
<string>This allows us to use your location to provide you a nearby jobs, and to facilitate more accurately, keeping you in the loop about Mzigo.</string>
</edit-config>
<edit-config target="NSLocationAlwaysUsageDescription" file="*-Info.plist" mode="merge">
<string>This allows us to use your location to find jobs nearby.</string>
</edit-config>
<edit-config target="NSPhotoLibraryAddUsageDescription" file="*-Info.plist" mode="merge">
<string>Enable Mzigo to access your photo library to save pictures there.</string>
</edit-config>
<edit-config target="NSMicrophoneUsageDescription" file="*-Info.plist" mode="merge">
<string>need microphone access to record sounds</string>
</edit-config>
<edit-config target="NSBluetoothAlwaysUsageDescription" file="*-Info.plist" mode="merge">
<string>Improve location accuracy when finding nearby jobs</string>
</edit-config>
<edit-config target="NSBluetoothPeripheralUsageDescription" file="*-Info.plist" mode="merge">
<string>Improve location accuracy when finding nearby jobs</string>
</edit-config>
<edit-config target="NSContactsUsageDescription" file="*-Info.plist" mode="merge">
<string>Need access to your contacts</string>
</edit-config>
<edit-config target="NSCalendarsUsageDescription" file="*-Info.plist" mode="merge">
<string>Allow access to your calendar</string>
</edit-config>
<edit-config target="NSMotionUsageDescription" file="*-Info.plist" mode="merge">
<string>Improve location accuracy when finding nearby jobs</string>
</edit-config>
</platform>
<platform name="android">
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
</config-file>
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
<application android:usesCleartextTraffic="true"/>
</edit-config>
<config-file target="AndroidManifest.xml" parent="/*/application">
<uses-library android:name="org.apache.http.legacy" android:required="true"/>
</config-file>
<resource-file src="res/icons/android/drawable-hdpi-icon.png" target="app/src/main/res/mipmap/icon.png"/>
<resource-file src="res/icons/android/drawable-hdpi-icon.png" target="app/src/main/res/raw/mipmap/icon.png"/>
<resource-file src="www/sounds/neworder.mp3" target="app/src/main/res/raw/neworder.mp3"/>
<resource-file src="google-services.json" target="google-services.json"/>
<resource-file src="google-services.json" target="app/google-services.json"/>
<icon density="ldpi" src="res/icons/android/drawable-ldpi-icon.png"/>
<icon density="mdpi" src="res/icons/android/drawable-mdpi-icon.png"/>
<icon density="hdpi" src="res/icons/android/drawable-hdpi-icon.png"/>
<icon density="xhdpi" src="res/icons/android/drawable-xhdpi-icon.png"/>
<icon density="xxhdpi" src="res/icons/android/drawable-xxhdpi-icon.png"/>
<icon density="xxxhdpi" src="res/icons/android/drawable-xxxhdpi-icon.png"/>
<splash density="land-ldpi" src="res/screens/android/drawable-land-ldpi-screen.png"/>
<splash density="land-mdpi" src="res/screens/android/drawable-land-mdpi-screen.png"/>
<splash density="land-hdpi" src="res/screens/android/drawable-land-hdpi-screen.png"/>
<splash density="land-xhdpi" src="res/screens/android/drawable-land-xhdpi-screen.png"/>
<splash density="land-xxhdpi" src="res/screens/android/drawable-land-xxhdpi-screen.png"/>
<splash density="land-xxxhdpi" src="res/screens/android/drawable-land-xxxhdpi-screen.png"/>
<splash density="port-ldpi" src="res/screens/android/drawable-port-ldpi-screen.png"/>
<splash density="port-mdpi" src="res/screens/android/drawable-port-mdpi-screen.png"/>
<splash density="port-hdpi" src="res/screens/android/drawable-port-hdpi-screen.png"/>
<splash density="port-xhdpi" src="res/screens/android/drawable-port-xhdpi-screen.png"/>
<splash density="port-xxhdpi" src="res/screens/android/drawable-port-xxhdpi-screen.png"/>
<splash density="port-xxxhdpi" src="res/screens/android/drawable-port-xxxhdpi-screen.png"/>
</platform>
<platform name="ios">
<allow-intent href="tel:*"/>
<resource-file src="www/sounds/neworder.mp3"/>
<preference name="WKWebViewOnly" value="true"/>
<feature name="CDVWKWebViewEngine">
<param name="ios-package" value="CDVWKWebViewEngine"/>
</feature>
<preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine"/>
<icon height="57" platform="ios" src="res/icons/ios/icon.png" width="57"/>
<icon height="114" platform="ios" src="res/icons/ios/[email protected]" width="114"/>
<icon height="40" platform="ios" src="res/icons/ios/icon-40.png" width="40"/>
<icon height="80" platform="ios" src="res/icons/ios/[email protected]" width="80"/>
<icon height="50" platform="ios" src="res/icons/ios/icon-50.png" width="50"/>
<icon height="100" platform="ios" src="res/icons/ios/[email protected]" width="100"/>
<icon height="60" platform="ios" src="res/icons/ios/icon-60.png" width="60"/>
<icon height="120" platform="ios" src="res/icons/ios/[email protected]" width="120"/>
<icon height="180" platform="ios" src="res/icons/ios/[email protected]" width="180"/>
<icon height="72" platform="ios" src="res/icons/ios/icon-72.png" width="72"/>
<icon height="144" platform="ios" src="res/icons/ios/[email protected]" width="144"/>
<icon height="76" platform="ios" src="res/icons/ios/icon-76.png" width="76"/>
<icon height="152" platform="ios" src="res/icons/ios/[email protected]" width="152"/>
<icon height="29" platform="ios" src="res/icons/ios/icon-small.png" width="29"/>
<icon height="58" platform="ios" src="res/icons/ios/[email protected]" width="58"/>
<icon height="87" platform="ios" src="res/icons/ios/[email protected]" width="87"/>
<icon height="1024" platform="ios" src="res/icons/ios/icon-1024.png" width="1024"/>
<icon height="167" platform="ios" src="res/icons/ios/[email protected]" width="167"/>
<splash height="1136" platform="ios" src="res/screens/ios/Default-568h@2x~iphone.png" width="640"/>
<splash height="1334" platform="ios" src="res/screens/ios/Default-667h.png" width="750"/>
<splash height="2208" platform="ios" src="res/screens/ios/Default-736h.png" width="1242"/>
<splash height="1242" platform="ios" src="res/screens/ios/Default-Landscape-736h.png" width="2208"/>
<splash height="1536" platform="ios" src="res/screens/ios/Default-Landscape@2x~ipad.png" width="2048"/>
<splash height="768" platform="ios" src="res/screens/ios/Default-Landscape~ipad.png" width="1024"/>
<splash height="2048" platform="ios" src="res/screens/ios/Default-Portrait@2x~ipad.png" width="1536"/>
<splash height="1024" platform="ios" src="res/screens/ios/Default-Portrait~ipad.png" width="768"/>
<splash height="960" platform="ios" src="res/screens/ios/Default@2x~iphone.png" width="640"/>
<splash height="480" platform="ios" src="res/screens/ios/Default~iphone.png" width="320"/>
<!--iPHONE X-->
<splash height="1334" platform="ios" src="res/screens/ios/Default@2x~iphone~anyany.png" width="1334"/>
<splash height="1334" platform="ios" src="res/screens/ios/Default@2x~iphone~comany.png" width="750"/>
<splash height="750" platform="ios" src="res/screens/ios/Default@2x~iphone~comcom.png" width="750"/>
<splash height="2436" platform="ios" src="res/screens/ios/Default@3x~iphone~anyany.png" width="2436"/>
<splash height="1242" platform="ios" src="res/screens/ios/Default@3x~iphone~anycom.png" width="2436"/>
<splash height="2436" platform="ios" src="res/screens/ios/Default@3x~iphone~comany.png" width="1242"/>
<splash height="2732" platform="ios" src="res/screens/ios/Default@2x~ipad~anyany.png" width="2732"/>
<splash height="2732" platform="ios" src="res/screens/ios/Default@2x~ipad~comany.png" width="1278"/>
</platform>
<preference name="WindowsStorePublisherName" value="My Name"/>
<preference name="WindowsStoreIdentityName" value="784321d4-bab8-3957-d0a2-426559520ecc"/>
<preference name="ios-XCBuildConfiguration-TARGETED_DEVICE_FAMILY" value="1"/>
<preference name="AutoHideSplashScreen" value="false"/>
<preference name="FadeSplashScreen" value="false"/>
<preference name="ShowSplashScreenSpinner" value="false"/>
<access origin="*"/>
<access origin="tel:*"/>
<preference name="DisallowOverscroll" value="true"/>
<preference name="EnableViewportScale" value="false"/>
</widget>