-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.xml
More file actions
67 lines (66 loc) · 3.34 KB
/
Copy pathplugin.xml
File metadata and controls
67 lines (66 loc) · 3.34 KB
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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:rim="http://www.blackberry.com/ns/widgets" id="cordova-plugin-goodluck-barcodescanner" version="7.0.2">
<name>BarcodeScanner</name>
<description>You can use the BarcodeScanner plugin to scan different types of barcodes (using the device's camera) and
get the metadata encoded in them for processing within your application.
</description>
<license>MIT</license>
<repo>https://github.com/HybridApp/cordova-plugin-goodluck-barcodescanner</repo>
<issue>https://github.com/HybridApp/cordova-plugin-goodluck-barcodescanner/issues</issue>
<engines>
<engine name="cordova" version=">=3.0.0"/>
<engine name="cordova-android" version=">=6.3.0"/>
</engines>
<js-module src="www/barcodescanner.js" name="BarcodeScanner">
<clobbers target="goodluck.barcodeScanner"/>
</js-module>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="BarcodeScanner">
<param name="ios-package" value="CDVBarcodeScanner"/>
</feature>
</config-file>
<resource-file src="src/ios/scannerOverlay.xib"/>
<resource-file src="src/ios/CDVBarcodeScanner.bundle"/>
<header-file src="src/ios/zxing-all-in-one.h"/>
<source-file src="src/ios/CDVBarcodeScanner.mm" compiler-flags="-fno-objc-arc"/>
<source-file src="src/ios/zxing-all-in-one.cpp"/>
<framework src="libiconv.dylib"/>
<framework src="AVFoundation.framework"/>
<framework src="AssetsLibrary.framework"/>
<framework src="CoreVideo.framework"/>
<framework src="QuartzCore.framework"/>
<framework src="CoreGraphics.framework"/>
<framework src="CoreImage.framework"/>
<framework src="AudioToolbox.framework"/>
</platform>
<platform name="android">
<source-file src="src/android/BarcodeScanner.java" target-dir="src/goodluck/barcodescanner"/>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="BarcodeScanner">
<param name="android-package" value="goodluck.barcodescanner.BarcodeScanner"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity
android:name="com.goodluck.barcodescanner.CustomCaptureActivity"
android:clearTaskOnLaunch="true"
android:configChanges="orientation|keyboardHidden|screenSize"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/Theme.AppCompat.Light.NoActionBar"
android:windowSoftInputMode="stateAlwaysHidden" />
</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"/>
<uses-feature android:name="android.hardware.autofocus"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
</config-file>
<framework src="src/android/barcodescanner.gradle" custom="true" type="gradleReference"/>
<lib-file src="src/android/com.goodluck.barcodescanner.aar"/>
</platform>
</plugin>