-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
config.xml
executable file
·55 lines (55 loc) · 3.09 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
<?xml version='1.0' encoding='utf-8'?>
<widget android-versionCode="2418" id="org.openfoodfacts.scanner" version="2.4.18" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>OpenFoodFacts</name>
<description>
Scan the barcode of food products, decrypt labels and contribute to the Open Food Facts project.
</description>
<author email="[email protected]" href="https://openfoodfacts.org">
Stéphane Gigandet
</author>
<content src="index.html" />
<access origin="*" />
<icon height="57" src="www/res/icons/icon-57.png" width="57" />
<platform name="android">
<icon density="ldpi" src="www/res/icons/android/drawable-ldpi/icon-36.png" />
<icon density="mdpi" src="www/res/icons/android/drawable-mdpi/icon-48.png" />
<icon density="hdpi" src="www/res/icons/android/drawable-hdpi/icon-72.png" />
<icon density="xhdpi" src="www/res/icons/android/drawable-xhdpi/icon-96.png" />
<hook src="overwrite_beep.js" type="before_compile" />
</platform>
<platform name="ios">
<splash src="www/res/icons/ios/Default@2x~universal~anyany.png" />
<icon height="40" src="www/res/icons/ios/icon-40.png" width="40" />
<icon height="72" src="www/res/icons/ios/icon-72.png" width="72" />
<icon height="144" src="www/res/icons/ios/[email protected]" width="144" />
<icon height="76" src="www/res/icons/ios/icon-76.png" width="76" />
<icon height="120" src="www/res/icons/ios/icon-120.png" width="120" />
<icon height="152" src="www/res/icons/ios/icon-152.png" width="152" />
<icon height="167" src="www/res/icons/ios/icon-167.png" width="167" />
<preference name="StatusBarOverlaysWebView" value="false" />
<preference name="StatusBarBackgroundColor" value="#dddddd" />
<preference name="StatusBarStyle" value="lightcontent" />
<plugin spec="cordova-plugin-statusbar" />
<hook src="overwrite_beep_ios.js" type="before_compile" />
</platform>
<plugin name="cordova-plugin-whitelist" spec="^1.3.3" />
<plugin name="phonegap-plugin-barcodescanner" spec="^6.0.5">
<variable name="CAMERA_USAGE_DESCRIPTION" value="Scanning products and taking photos" />
</plugin>
<allow-navigation href="https://openfoodfacts.org/*" />
<allow-navigation href="*://*.openfoodfacts.org/*" />
<access origin="content:///*" />
<allow-intent href="*://*.openfoodfacts.org/*" />
<allow-intent href="*://*.openbeautyfacts.org/*" />
<access origin="https://*.openbeautyfacts.org" />
<access origin="https://*.openfoodfacts.org" />
<engine name="browser" spec="^5.0.3" />
<edit-config file="*-Info.plist" mode="merge" target="NSCameraUsageDescription">
<string>Scanning products and taking photos</string>
</edit-config>
<plugin name="cordova-plugin-camera" spec="^4.0.3" />
<plugin name="cordova-plugin-tts" spec="^0.2.3" />
<plugin name="cordova-plugin-file" spec="^6.0.1" />
<plugin name="cordova-plugin-statusbar" spec="^2.4.2" />
<engine name="ios" spec="~4.5.5" />
</widget>