forked from OpenSprinkler/OpenSprinkler-App
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.xml
187 lines (187 loc) · 10.5 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
<?xml version="1.0" encoding="utf-8"?>
<widget 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" android-versionCode="162" id="de.opensprinklershop.sprinklers" version="2.3.162" versionCode="162">
<!-- Don't forget to modify web/index.html !!! -->
<name>OpenSprinklerASB</name>
<description>
Designed to allow intuitive control of the OpenSprinkler irrigation controller.
Added Analog Sensor Api by Stefan Schmaltz OpenSprinklerShop
</description>
<author email="[email protected]" href="https://opensprinklershop.de/">
Stefan Schmaltz
</author>
<content src="index.html"/>
<access origin="*"/>
<allow-intent href="*"/>
<preference name="WebSecurity" value="disable"/>
<preference name="KeepRunning" value="false"/>
<preference name="BackgroundColor" value="0x001c1c1c"/>
<preference name="DisallowOverscroll" value="true"/>
<preference name="webviewbounce" value="false"/>
<preference name="UIWebViewBounce" value="false"/>
<preference name="HideMousePointer" value="1"/>
<preference name="WindowSize" value="900x760"/>
<preference name="EnableWebGL" value="true"/>
<preference name="AutoHideSplashScreen" value="false"/>
<preference name="ShowSplashScreenSpinner" value="false"/>
<preference name="FadeSplashScreen" value="false"/>
<preference name="KeyboardDisplayRequiresUserAction" value="false"/>
<preference name="loadUrlTimeoutValue" value="700000"/>
<exclude-files pattern="**/*.bak"/>
<exclude-files pattern="**/*.js~"/>
<hook type="after_compile" src="scripts/appGMK.sh"/>
<hook type="after_deploy" src="scripts/appGMK2.sh"/>
<platform name="browser">
</platform>
<platform name="ios">
<preference name="scheme" value="ionic"/>
<config-file target="*-Info.plist" overwrite="true" parent="NSLocationAlwaysAndWhenInUseUsageDescription">
<string>Your current location will be used to configure OpenSprinkler.</string>
</config-file>
<config-file target="*-Info.plist" overwrite="true" parent="NSLocationAlwaysUsageDescription">
<string>Your current location will be used to configure OpenSprinkler.</string>
</config-file>
<config-file target="*-Info.plist" overwrite="true" parent="NSLocationWhenInUseUsageDescription">
<string>Your current location will be used to configure OpenSprinkler.</string>
</config-file>
<config-file target="*-Info.plist" overwrite="true" parent="NSPhotoLibraryUsageDescription">
<string>Your photo library is used to provide an image for your stations.</string>
</config-file>
<config-file target="*-Info.plist" overwrite="true" parent="NSCameraUsageDescription">
<string>Your camera is used to provide an image for your stations.</string>
</config-file>
<config-file target="*-Info.plist" overwrite="true" parent="CFBundleShortVersionString">
<string>19905</string>
</config-file>
<config-file target="*-Info.plist" overwrite="true" parent="LSApplicationCategoryType">
<string>public.app-category.utilities</string>
</config-file>
<splash height="480" src="res/ios/screens/startup.png" width="320"/>
<splash height="960" src="res/ios/screens/startup-retina.png" width="640"/>
<splash height="1136" src="res/ios/screens/startup-iphone5-retina.png" width="640"/>
<splash height="1334" src="res/ios/screens/startup-iphone6-portrait.png" width="750"/>
<splash height="750" src="res/ios/screens/startup-iphone6-landscape.png" width="1334"/>
<splash height="2208" src="res/ios/screens/startup-iphone6plus-portrait.png" width="1242"/>
<splash height="1242" src="res/ios/screens/startup-iphone6plus-landscape.png" width="2208"/>
<splash height="768" src="res/ios/screens/startup-tablet-landscape.png" width="1024"/>
<splash height="1024" src="res/ios/screens/startup-tablet-portrait.png" width="768"/>
<splash height="1536" src="res/ios/screens/startup-tablet-landscape-retina.png" width="2048"/>
<splash height="2048" src="res/ios/screens/startup-tablet-portrait-retina.png" width="1536"/>
<splash height="2436" src="res/ios/screens/startup-iphonex-portrait.png" width="1125"/>
<splash height="1125" src="res/ios/screens/startup-iphonex-landscape.png" width="2436"/>
<splash height="2732" src="res/ios/screens/startup@2x~universal~anyany.png" width="2732"/>
<icon height="1024" src="res/ios/icons/icon-1024.png" width="1024"/>
<icon height="114" src="res/ios/icons/[email protected]" width="114"/>
<icon height="40" src="res/ios/icons/icon-40.png" width="40"/>
<icon height="80" src="res/ios/icons/[email protected]" width="80"/>
<icon height="50" src="res/ios/icons/icon-50.png" width="50"/>
<icon height="100" src="res/ios/icons/[email protected]" width="100"/>
<icon height="60" src="res/ios/icons/icon-60.png" width="60"/>
<icon height="167" src="res/ios/icons/[email protected]" width="167"/>
<icon height="29" src="res/ios/icons/icon-small.png" width="29"/>
<icon height="58" src="res/ios/icons/[email protected]" width="58"/>
<icon height="87" src="res/ios/icons/[email protected]" width="87"/>
<icon height="57" src="res/ios/icons/icon-57.png" width="57"/>
<icon height="120" src="res/ios/icons/[email protected]" width="120"/>
<icon height="180" src="res/ios/icons/[email protected]" width="180"/>
<icon height="72" src="res/ios/icons/icon-72.png" width="72"/>
<icon height="144" src="res/ios/icons/[email protected]" width="144"/>
<icon height="76" src="res/ios/icons/icon-76.png" width="76"/>
<icon height="152" src="res/ios/icons/[email protected]" width="152"/>
<exclude-files pattern="**/analog.*"/>
<exclude-files pattern="**/chart.umd.js"/>
<exclude-files pattern="**/chartjs-adapter-date-fns.bundle.min.js"/>
<exclude-files pattern="**/apexcharts.min.js"/>
<exclude-files pattern="**/dataTables-2.1.8.min.js"/>
<exclude-files pattern="**/jqm.js"/>
<exclude-files pattern="**/hasher.js"/>
<exclude-files pattern="**/jquery.js"/>
<exclude-files pattern="**/jquery.js.sav"/>
<exclude-files pattern="**/libs.js"/>
<exclude-files pattern="**/main.*"/>
<exclude-files pattern="**/*.js~"/>
</platform>
<platform name="android">
<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="queries">
<intent>
<action android:name="android.media.action.IMAGE_CAPTURE"/>
</intent>
<intent>
<action android:name="android.intent.action.GET_CONTENT"/>
</intent>
</config-file>
<config-file parent="/*" platform="android" target="AndroidManifest.xml">
<uses-feature android:name="android.hardware.camera" android:required="false"/>
</config-file>-->
<config-file after="uses-permission" parent="/manifest" target="AndroidManifest.xml">
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
</config-file>
<preference name="android-minSdkVersion" value="29"/>
<preference name="android-targetSdkVersion" value="34"/>
<preference name="android-theme" value="@android:style/Theme.Holo.Light.NoActionBar"/>
<preference name="AndroidInsecureFileModeEnabled" value="true"/>
<preference name="AndroidWindowSplashScreenAnimatedIcon" value="res/android/screens/splash.png"/>
<preference name="AndroidWindowSplashScreenBackground" value="#1c1c1c"/>
<icon density="ldpi" src="res/android/icons/ldpi.png"/>
<icon density="mdpi" src="res/android/icons/mdpi.png"/>
<icon density="hdpi" src="res/android/icons/hdpi.png"/>
<icon density="xhdpi" src="res/android/icons/xhdpi.png"/>
<icon density="xxhdpi" src="res/android/icons/xxhdpi.png"/>
<!--
<exclude-files pattern="**/analog.*"/>
<exclude-files pattern="**/chart.umd.js"/>
<exclude-files pattern="**/chartjs-adapter-date-fns.bundle.min.js"/>
<exclude-files pattern="**/apexcharts.min.js"/>
<exclude-files pattern="**/dataTables-2.1.8.min.js"/>
<exclude-files pattern="**/jqm.js"/>
<exclude-files pattern="**/hasher.js"/>
<exclude-files pattern="**/jquery.js"/>
<exclude-files pattern="**/jquery.js.sav"/>
<exclude-files pattern="**/libs.js"/>
<exclude-files pattern="**/main.*"/>
<exclude-files pattern="**/*.js~"/>-->
</platform>
<platform name="windows">
<preference name="windows-appx-target" value="uap"/>
<preference name="WindowsStorePublisherName" value="CN=8F0F825B-0E15-463C-8770-CA0313FEE1E7"/>
<preference name="WindowsStoreIdentityName" value="27908SamerAlbahra.OpenSprinkler"/>
<preference name="windows-identity-name" value="27908SamerAlbahra.OpenSprinkler"/>
<icon height="50" src="res/windows/icons/icon50.png" width="50"/>
<icon height="30" src="res/windows/icons/icon30.png" width="30"/>
<icon height="44" src="res/windows/icons/icon44.png" width="44"/>
<icon height="70" src="res/windows/icons/icon70.png" width="70"/>
<icon height="71" src="res/windows/icons/icon71.png" width="71"/>
<icon height="150" src="res/windows/icons/icon150.png" width="150"/>
<icon height="310" src="res/windows/icons/icon310.png" width="310"/>
<icon height="150" src="res/windows/icons/iconw.png" width="310"/>
<splash height="300" src="res/windows/screens/landscape.png" width="620"/>
<splash height="1920" src="res/windows/screens/portrait.png" width="1152"/>
<preference name="AndroidPersistentFileLocation" value="Compatibility"/>
</platform>
<platform name="wp8">
<icon src="res/windows/icons/icon48.png"/>
<splash src="res/windows/screens/startup.jpg"/>
</platform>
<platform name="osx">
<icon src="res/osx/icons/icon-1024.png" width="1024"/>
<icon src="res/osx/icons/icon-512.png" width="512"/>
<icon src="res/osx/icons/icon-256.png" width="256"/>
<icon src="res/osx/icons/icon-128.png" width="128"/>
<icon src="res/osx/icons/icon-64.png" width="64"/>
<icon src="res/osx/icons/icon-32.png" width="32"/>
<icon src="res/osx/icons/icon-16.png" width="16"/>
<config-file target="*-Info.plist" overwrite="true" parent="CFBundleVersion">
<string>19604</string>
</config-file>
<config-file target="*-Info.plist" overwrite="true" parent="CFBundleIdentifier">
<string>com.albahra.Sprinklers.osx</string>
</config-file>
<config-file target="*-Info.plist" overwrite="true" parent="LSApplicationCategoryType">
<string>public.app-category.utilities</string>
</config-file>
</platform>
</widget>