forked from PDF417/pdf417-phonegap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
131 lines (103 loc) · 5.64 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
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
<?xml version="1.0" encoding="UTF-8"?><plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="mobi.pdf417.Pdf417Scanner"
version="1.2.0">
<name>Pdf417Scanner</name>
<description>A small and powerful PDF417 barcode scanning library</description>
<license>MIT</license>
<keywords>pdf417,barcode,usdl,qr code,2d barcode,1d barcode</keywords>
<author>MicroBlink Team [email protected]</author>
<engines>
<engine name="cordova" version=">=3.0.0" />
<engine name="cordova-android" version=">=4.0.0" />
</engines>
<js-module src="www/pdf417scanner.js" name="Pdf417Scanner">
<clobbers target="cordova.plugins.pdf417Scanner" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Pdf417Scanner">
<param name="android-package" value="com.phonegap.plugins.pdf417.Pdf417Scanner" />
</feature>
</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" />
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
<uses-feature android:name="android.hardware.camera.flash" android:required="false" />
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="true" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity
android:name="com.microblink.activity.Pdf417ScanActivity"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:configChanges="orientation|screenSize"
android:screenOrientation="portrait" >
</activity>
</config-file>
<source-file src="src/android/java/com/phonegap/plugins/pdf417/Pdf417Scanner.java" target-dir="src/com/phonegap/plugins/pdf417" />
<source-file src="src/android/java/com/phonegap/plugins/pdf417/FakeR.java" target-dir="src/com/phonegap/plugins/pdf417" />
<source-file src="src/android/res/raw/beep.mp3" target-dir="res/raw" />
<framework src="src/android/libPdf417Mobi.gradle" custom="true" type="gradleReference" />
<hook type="after_prepare" src="scripts/fix-largeheap.js" />
</platform>
<hook type="after_platform_add" src="addEmbedded.js" />
<platform name="ios">
<source-file src="src/ios/sources/CDVpdf417.m" />
<header-file src="src/ios/sources/CDVpdf417.h" />
<framework src="libc++.dylib" />
<framework src="libz.dylib" />
<framework src="libiconv.dylib" />
<framework src="CoreVideo.framework" />
<framework src="CoreText.framework" />
<framework src="CoreMedia.framework" />
<framework src="QuartzCore.framework" />
<framework src="AudioToolbox.framework" />
<framework src="OpenGLES.framework" />
<framework src="Accelerate.framework" />
<framework src="src/ios/MicroBlink.framework" custom="true" embed="true" />
<preference name="CAMERA_USAGE_DESCRIPTION" default=" " />
<config-file target="*-Info.plist" parent="NSCameraUsageDescription">
<string>$CAMERA_USAGE_DESCRIPTION</string>
</config-file>
<resource-file src="src/ios/MicroBlink.bundle" />
<config-file target="config.xml" parent="/*">
<feature name="Pdf417Scanner">
<param name="ios-package" value="CDVpdf417" />
</feature>
</config-file>
</platform>
<!-- windows phone 8.0 -->
<platform name="wp8">
<config-file target="config.xml" parent="/*">
<feature name="Pdf417Scanner">
<param name="wp-package" value="Pdf417Scanner"/>
</feature>
</config-file>
<config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
<Capability Name="ID_CAP_ISV_CAMERA" />
<Capability Name="ID_CAP_SENSORS" />
</config-file>
<config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Requirements">
<Requirement Name="ID_REQ_REARCAMERA" />
</config-file>
<framework src="Microsoft.Expression.Controls.dll" />
<framework src="src/wp8/lib/Microblink.winmd" custom="true" arch="ARM" target="phone" />
<framework src="src/wp8/lib/PDF417.dll" custom="true" arch="ARM" target="phone" />
<source-file src="src/wp8/sources/Pdf417Scanner.cs" />
<source-file src="src/wp8/sources/Pdf417ScannerPage.xaml" />
<source-file src="src/wp8/sources/Pdf417ScannerPage.xaml.cs" />
<asset src="src/wp8/res/Icons/icon_exit.png" target="Icons/icon_exit.png" />
<asset src="src/wp8/res/Icons/icon_exit_selected.png" target="Icons/icon_exit_selected.png" />
<asset src="src/wp8/res/Icons/icon_flashlight.png" target="Icons/icon_flashlight.png" />
<asset src="src/wp8/res/Icons/icon_flashlight_selected.png" target="Icons/icon_flashlight_selected.png" />
<asset src="src/wp8/res/Sounds/beep_pdf417.mp3" target="Sounds/beep_pdf417.mp3" />
</platform>
</plugin>