-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
42 lines (42 loc) · 1.92 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
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="scandit-cordova-datacapture-id" version="7.0.1">
<name>ScanditIdCapture</name>
<js-module name="Id" src="dist/id.js">
<merges target="Scandit" />
</js-module>
<js-module name="Scandit" src="dist/index.js">
<runs />
<merges target="Scandit" />
</js-module>
<engines>
<engine name="cordova-ios" version=">=5.0.0" />
<engine name="cordova-android" version=">=7.0.0" />
</engines>
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="ScanditIdCapture">
<param name="ios-package" value="ScanditIdCapture" />
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/ios/ScanditIdCapture-Bridging-Header.h" type="BridgingHeader" />
<source-file src="src/ios/ScanditIdCapture.swift" />
<dependency id="scandit-cordova-datacapture-core" version="7.0.1" />
<podspec>
<pods use-frameworks="true">
<pod name="scandit-datacapture-frameworks-id" spec="= 7.0.1" />
</pods>
</podspec>
</platform>
<platform name="android">
<config-file parent="/*" target="config.xml">
<feature name="ScanditIdCapture">
<param name="android-package" value="com.scandit.datacapture.cordova.id.ScanditIdCapture" />
</feature>
</config-file>
<source-file src="src/android/ScanditIdCapture.kt" target-dir="kotlin/com/scandit/datacapture/cordova/id" />
<dependency id="scandit-cordova-datacapture-core" version="7.0.1" />
<framework custom="true" src="src/android/build.gradle" type="gradleReference" />
<framework src="androidx.appcompat:appcompat:1.1.0" />
<hook src="src/hooks/support-kotlin.js" type="after_plugin_install" />
</platform>
</plugin>