forked from tony-xlh/cordova-plugin-dynamsoft-barcode-reader
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.xml
More file actions
executable file
·43 lines (36 loc) · 1.67 KB
/
plugin.xml
File metadata and controls
executable file
·43 lines (36 loc) · 1.67 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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-dynamsoft-barcode-reader" version="0.0.1" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>DBR</name>
<js-module name="DBR" src="www/DBR.js"><clobbers target="cordova.plugins.DBR" /></js-module>
<platform name="ios"><config-file parent="/*" target="config.xml">
<feature name="DBR"><param name="ios-package" value="DBR" /></feature>
</config-file><source-file src="src/ios/DBR.m" />
<!--<framework custom="true" embed="true" src="src/ios/DynamsoftBarcodeReader.framework" />-->
<podspec>
<pods use-frameworks="true">
<pod name="DynamsoftBarcodeReader" spec="~> 9.6.41" />
<pod name="DynamsoftCameraEnhancer" spec="~> 2.3.23" />
</pods>
</podspec>
</platform>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="DBR"><param name="android-package" value="com.dynamsoft.cordova.DBR" />
</feature>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml"></config-file>
<source-file src="src/android/com/dynamsoft/cordova/DBR.java" target-dir="src/com/dynamsoft/cordova" />
<source-file src="src/android/com/dynamsoft/cordova/BitmapUtils.java" target-dir="src/com/dynamsoft/cordova" />
<framework src="src/android/barcodereader.gradle" custom="true" type="gradleReference" />
</platform>
<platform name="browser">
<config-file target="config.xml" parent="/*">
<feature name="DBR">
<param name="browser-package" value="DBR" />
</feature>
</config-file>
<js-module src="src/browser/DBR.js" name="DBRJS">
<runs />
</js-module>
</platform>
</plugin>