-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.xml
80 lines (80 loc) · 5.23 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
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.example.todoapp" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>TodoApp</name>
<description/>
<author/>
<content src="index.html"/>
<allow-navigation href="*"/>
<preference name="SplashScreen" value="screen"/>
<preference name="SplashScreenDelay" value="1000"/>
<platform name="android">
<icon src="/res/android/icon/ldpi.png" density="ldpi"/>
<icon src="/res/android/icon/mdpi.png" density="mdpi"/>
<icon src="/res/android/icon/hdpi.png" density="hdpi"/>
<icon src="/res/android/icon/xhdpi.png" density="xhdpi"/>
<icon src="/res/android/icon/xxhdpi.png" density="xxhdpi"/>
<icon src="/res/android/icon/xxxhdpi.png" density="xxxhdpi"/>
<splash src="/res/android/screen/splash-port-ldpi.9.png" density="port-ldpi"/>
<splash src="/res/android/screen/splash-port-mdpi.9.png" density="port-mdpi"/>
<splash src="/res/android/screen/splash-port-hdpi.9.png" density="port-hdpi"/>
<splash src="/res/android/screen/splash-port-xhdpi.9.png" density="port-xhdpi"/>
<splash src="/res/android/screen/splash-port-xxhdpi.9.png" density="port-xxhdpi"/>
<splash src="/res/android/screen/splash-port-xxxhdpi.9.png" density="port-xxxhdpi"/>
<splash src="/res/android/screen/splash-mdpi.png" density="mdpi"/>
<config-file parent="/*" target="AndroidManifest.xml">
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera2" />
</config-file>
</platform>
<platform name="ios">
<preference name="orientation" value="all"/>
<icon src="/res/ios/icon/icon.png" width="57" height="57"/>
<icon src="/res/ios/icon/[email protected]" width="114" height="114"/>
<icon src="/res/ios/icon/icon-72.png" width="72" height="72"/>
<icon src="/res/ios/icon/[email protected]" width="144" height="144"/>
<icon src="/res/ios/icon/icon-60.png" width="60" height="60"/>
<icon src="/res/ios/icon/[email protected]" width="120" height="120"/>
<icon src="/res/ios/icon/[email protected]" width="180" height="180"/>
<icon src="/res/ios/icon/icon-76.png" width="76" height="76"/>
<icon src="/res/ios/icon/[email protected]" width="152" height="152"/>
<icon src="/res/ios/icon/icon-40.png" width="40" height="40"/>
<icon src="/res/ios/icon/[email protected]" width="80" height="80"/>
<icon src="/res/ios/icon/icon-50.png" width="50" height="50"/>
<icon src="/res/ios/icon/[email protected]" width="100" height="100"/>
<icon src="/res/ios/icon/icon-small.png" width="29" height="29"/>
<icon src="/res/ios/icon/[email protected]" width="58" height="58"/>
<icon src="/res/ios/icon/[email protected]" width="87" height="87"/>
<icon src="/res/ios/icon/icon-83.5@2x~ipad.png" width="167" height="167"/>
<icon src="/res/ios/icon/icon-1024.png" width="1024" height="1024"/>
<splash src="/res/ios/screen/Default@2x~universal~anyany.png"/>
<splash src="/res/ios/screen/Default~iphone.png" width="320" height="480"/>
<splash src="/res/ios/screen/Default@2x~iphone.png" width="640" height="960"/>
<splash src="/res/ios/screen/Default-568h@2x~iphone.png" width="640" height="1136"/>
<splash src="/res/ios/screen/Default-667h.png" width="750" height="1334"/>
<splash src="/res/ios/screen/Default-736h.png" width="1242" height="2208"/>
<splash src="/res/ios/screen/Default-Landscape-736h.png" width="2208" height="1242"/>
<splash src="/res/ios/screen/Default-Portrait~ipad.png" width="768" height="1024"/>
<splash src="/res/ios/screen/Default-Landscape~ipad.png" width="1024" height="768"/>
<splash src="/res/ios/screen/Default-Portrait@2x~ipad.png" width="1536" height="2048"/>
<splash src="/res/ios/screen/Default-Landscape@2x~ipad.png" width="2048" height="1536"/>
<edit-config target="NSCameraUsageDescription" file="*-Info.plist" mode="merge">
<string>need camera access to take pictures</string>
</edit-config>
<edit-config target="NSPhotoLibraryUsageDescription" file="*-Info.plist" mode="merge">
<string>need to photo library access to get pictures from there</string>
</edit-config>
<edit-config target="NSPhotoLibraryAddUsageDescription" file="*-Info.plist" mode="merge">
<string>need to photo library access to save pictures there</string>
</edit-config>
<preference name="scheme" value="monaca-app"/>
<preference name="hostname" value="localhost"/>
</platform>
<platform name="electron">
<preference name="ElectronSettingsFilePath" value="res/electron/settings.json" />
<icon src="/res/electron/icon/icon_electron_512.png" width="512" height="512"/>
<splash src="/res/electron/screen/electron_splash_image.png" width="620" height="300"/>
<preference name="SplashScreenWidth" value="620"/>
<preference name="SplashScreenHeight" value="300"/>
<preference name="ShowSplashScreen" value="false"/>
</platform>
</widget>