-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathplugin.xml
executable file
·88 lines (79 loc) · 4.47 KB
/
plugin.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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="com.pgneri.plugin.zbarcodescanner"
version="1.0.2">
<name>zBarCodeScanner</name>
<description>Plugin zBarcodeScanner </description>
<license>Apache 2.0</license>
<keywords>barcodescanner,barcode,scanner,code</keywords>
<engines>
<engine name="cordova" version=">=3.1.0" />
</engines>
<js-module src="js/barcodescanner.js" name="BarcodeScanner">
<clobbers target="cordova.plugins.barcodeScanner" />
</js-module>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="BarcodeScanner">
<param name="ios-package" value="BarcodeScanner" />
</feature>
</config-file>
<preference name="CAMERA_USAGE_DESCRIPTION" default=" "/>
<config-file target="*-Info.plist" parent="NSCameraUsageDescription">
<string>$CAMERA_USAGE_DESCRIPTION</string>
</config-file>
<framework src="AVFoundation.framework" />
<framework src="QuartzCore.framework" />
<framework src="CoreVideo.framework" />
<framework src="CoreMedia.framework" />
<framework src="CoreGraphics.framework" />
<framework src="Foundation.framework" />
<framework src="UIKit.framework" />
<framework src="libiconv.dylib"/>
<header-file src="src/ios/ZBarSDK/Headers/ZBarSDK/zbar.h" />
<header-file src="src/ios/ZBarSDK/Headers/ZBarSDK/ZBarCameraSimulator.h" />
<header-file src="src/ios/ZBarSDK/Headers/ZBarSDK/ZBarCaptureReader.h" />
<header-file src="src/ios/ZBarSDK/Headers/ZBarSDK/ZBarHelpController.h" />
<header-file src="src/ios/ZBarSDK/Headers/ZBarSDK/ZBarImage.h" />
<header-file src="src/ios/ZBarSDK/Headers/ZBarSDK/ZBarImageScanner.h" />
<header-file src="src/ios/ZBarSDK/Headers/ZBarSDK/ZBarReaderController.h" />
<header-file src="src/ios/ZBarSDK/Headers/ZBarSDK/ZBarReaderView.h" />
<header-file src="src/ios/ZBarSDK/Headers/ZBarSDK/ZBarReaderViewController.h" />
<header-file src="src/ios/ZBarSDK/Headers/ZBarSDK/ZBarSDK.h" />
<header-file src="src/ios/ZBarSDK/Headers/ZBarSDK/ZBarSymbol.h" />
<header-file src="src/ios/ZBarSDK/Headers/ZBarSDK/zbar/Decoder.h" />
<header-file src="src/ios/ZBarSDK/Headers/ZBarSDK/zbar/Exception.h" />
<header-file src="src/ios/ZBarSDK/Headers/ZBarSDK/zbar/Image.h" />
<header-file src="src/ios/ZBarSDK/Headers/ZBarSDK/zbar/ImageScanner.h" />
<header-file src="src/ios/ZBarSDK/Headers/ZBarSDK/zbar/Processor.h" />
<header-file src="src/ios/ZBarSDK/Headers/ZBarSDK/zbar/Scanner.h" />
<header-file src="src/ios/ZBarSDK/Headers/ZBarSDK/zbar/Symbol.h" />
<header-file src="src/ios/ZBarSDK/Headers/ZBarSDK/zbar/Video.h" />
<header-file src="src/ios/ZBarSDK/Headers/ZBarSDK/zbar/Window.h" />
<source-file src="src/ios/ZBarSDK/libzbar.a" framework="true" custom="true"/>
<header-file src="src/ios/PgnScanner.h" />
<header-file src="src/ios/BarcodeScanner.h" />
<source-file src="src/ios/PgnScanner.m" />
<source-file src="src/ios/BarcodeScanner.m" />
</platform>
<platform name="android">
<source-file src="src/android/com/phonegap/plugins/barcodescanner/BarcodeScanner.java" target-dir="src/com/phonegap/plugins/barcodescanner"/>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="BarcodeScanner">
<param name="android-package" value="com.phonegap.plugins.barcodescanner.BarcodeScanner"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:name="com.google.zxing.client.android.CaptureActivity" android:clearTaskOnLaunch="true" android:configChanges="orientation|keyboardHidden|screenSize" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:windowSoftInputMode="stateAlwaysHidden" android:exported="false" />
<activity android:name="com.google.zxing.client.android.encode.EncodeActivity" android:label="Share"/>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.FLASHLIGHT"/>
<uses-feature android:name="android.hardware.camera" android:required="true"/>
</config-file>
<framework src="src/android/barcodescanner.gradle" custom="true" type="gradleReference"/>
<resource-file src="src/android/barcodescanner-release-2.0.1.aar" target="libs/barcodescanner.aar"/>
<dependency id="cordova-plugin-compat" version="^1.0.0"/>
</platform>
</plugin>