forked from vash15/cordova-plugin-background-barcode-scanner
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathplugin.xml
More file actions
executable file
·57 lines (47 loc) · 1.95 KB
/
Copy pathplugin.xml
File metadata and controls
executable file
·57 lines (47 loc) · 1.95 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
<?xml version="1.0" encoding="utf-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="cordova-plugin-background-barcode-scannerx"
version="3.2.2">
<name>BBScanner</name>
<engines>
<engine name="cordova" version=">=3.4.0"/>
</engines>
<js-module src="www/background-barcode-scanner.js" name="BBScanner">
<clobbers target="cordova.plugins.BBScanner" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="BBScanner">
<param name="android-package" value="info.belluco.cordova.bbscanner.BBScanner"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.CAMERA" android:required="false" />
<uses-feature android:name="android.hardware.camera" android:required="false" />
<uses-feature android:name="android.hardware.camera.front" android:required="false" />
</config-file>
<source-file src="src/android/BBScanner.java" target-dir="src/info/belluco/cordova/bbscanner"/>
<dependency id="cordova-plugin-compat" version="^1.0.0" />
<framework src="src/android/bbscanner.gradle" custom="true" type="gradleReference"/>
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="BBScanner">
<param name="ios-package" value="BBScanner"/>
</feature>
</config-file>
<dependency id="cordova-plugin-add-swift-support" spec="~1.7.2" />
<podspec>
<config>
<source url="https://github.com/CocoaPods/Specs.git"/>
</config>
<pods use-frameworks="true">
<pod name="ZXingObjC" />
</pods>
</podspec>
<source-file src="src/ios/BBScanner.swift"/>
<config-file target="*-Info.plist" parent="NSCameraUsageDescription">
<string>The camera is used to scan QR codes and barcodes.</string>
</config-file>
</platform>
</plugin>