-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.xml
32 lines (32 loc) · 1.39 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
<?xml version='1.0' encoding='utf-8'?>
<widget android-versionCode="1" id="demo.cordova" ios-CFBundleVersion="1" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>CordovaDemo</name>
<description>
Cordova demo apps
</description>
<content src="index.html" />
<preference name="UseSwiftLanguageVersion" value="3" />
<access origin="*" />
<allow-intent href="*" />
<allow-navigation href="*" />
<platform name="android">
<allow-intent href="market:*" />
</platform>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
<config-file parent="NSPhotoLibraryUsageDescription" platform="ios" target="*-Info.plist">
<string>To upload picture.</string>
</config-file>
<config-file parent="NSCameraUsageDescription" platform="ios" target="*-Info.plist">
<string>To take photo and scan barcode.</string>
</config-file>
</platform>
<plugin name="cordova-plugin-camera" spec="^4.0.3" />
<plugin name="cordova-plugin-device" spec="^2.0.2" />
<plugin name="phonegap-plugin-barcodescanner" spec="^7.1.1" />
<plugin name="cordova-plugin-whitelist" spec="^1.3.3" />
<engine name="browser" spec="^5.0.3" />
<engine name="android" spec="^7.1.0" />
<engine name="ios" spec="^4.5.4" />
</widget>