-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathplugin.xml
74 lines (74 loc) · 4.88 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
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="scandit-cordova-datacapture-core" version="7.0.2">
<name>ScanditCaptureCore</name>
<js-module name="Core" src="dist/core.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="ScanditCaptureCore">
<param name="ios-package" value="ScanditCaptureCore" />
<param name="onload" value="true" />
</feature>
</config-file>
<config-file parent="NSCameraUsageDescription" target="*-Info.plist">
<string>To scan barcodes.</string>
</config-file>
<source-file src="src/ios/CallbackLocks.swift" />
<source-file src="src/ios/Callbacks.swift" />
<source-file src="src/ios/CordovaEventEmitter.swift" />
<source-file src="src/ios/CordovaResult.swift" />
<source-file src="src/ios/NativeViewConstraints.swift" />
<header-file src="src/ios/ScanditCaptureCore-Bridging-Header.h" type="BridgingHeader" />
<source-file src="src/ios/ScanditCaptureCore.swift" />
<source-file src="src/ios/ScanditCaptureCoreDefaults.swift" />
<source-file src="src/ios/Command JSONs/CommandJSONArgument.swift" />
<source-file src="src/ios/Command JSONs/ViewPositionAndSizeJSON.swift" />
<source-file src="src/ios/Command JSONs/PointJSON.swift" />
<source-file src="src/ios/Extensions/WKWebView+Extensions.swift" />
<source-file src="src/ios/Extensions/CDVPluginResult+Extensions.swift" />
<source-file src="src/ios/SDCVolumeButtonObserver.h" />
<podspec>
<pods use-frameworks="true">
<pod name="scandit-datacapture-frameworks-core" spec="= 7.0.2" />
</pods>
</podspec>
</platform>
<platform name="android" kotlin="1.7.21">
<config-file parent="/*" target="config.xml">
<feature name="ScanditCaptureCore">
<param name="android-package" value="com.scandit.datacapture.cordova.core.ScanditCaptureCore" />
</feature>
<preference name="AndroidXEnabled" value="true" />
<preference name="GradlePluginKotlinEnabled" value="true" />
<preference name="GradlePluginKotlinVersion" value="1.7.21" />
</config-file>
<config-file parent="/manifest" target="AndroidManifest.xml">
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.VIBRATE" />
</config-file>
<source-file src="src/android/ScanditCaptureCore.kt" target-dir="kotlin/com/scandit/datacapture/cordova/core" />
<source-file src="src/android/handlers/DataCaptureViewHandler.kt" target-dir="kotlin/com/scandit/datacapture/cordova/core/handlers" />
<source-file src="src/android/errors/ActionError.kt" target-dir="kotlin/com/scandit/datacapture/cordova/core/errors" />
<source-file src="src/android/errors/JsonParseError.kt" target-dir="kotlin/com/scandit/datacapture/cordova/core/errors" />
<source-file src="src/android/errors/NoLastFrameError.kt" target-dir="kotlin/com/scandit/datacapture/cordova/core/errors" />
<source-file src="src/android/data/SerializableData.kt" target-dir="kotlin/com/scandit/datacapture/cordova/core/data" />
<source-file src="src/android/data/ResizeAndMoveInfo.kt" target-dir="kotlin/com/scandit/datacapture/cordova/core/data" />
<source-file src="src/android/data/SerializableCallbackAction.kt" target-dir="kotlin/com/scandit/datacapture/cordova/core/data" />
<source-file src="src/android/data/SerializableFinishModeCallbackData.kt" target-dir="kotlin/com/scandit/datacapture/cordova/core/data" />
<source-file src="src/android/utils/Extensions.kt" target-dir="kotlin/com/scandit/datacapture/cordova/core/utils" />
<source-file src="src/android/utils/CordovaResult.kt" target-dir="kotlin/com/scandit/datacapture/cordova/core/utils" />
<source-file src="src/android/utils/CordovaEventEmitter.kt" target-dir="kotlin/com/scandit/datacapture/cordova/core/utils" />
<source-file src="src/android/utils/PluginMethod.kt" target-dir="kotlin/com/scandit/datacapture/cordova/core/utils" />
<source-file src="src/android/utils/PermissionRequest.kt" target-dir="kotlin/com/scandit/datacapture/cordova/core/utils" />
<framework custom="true" src="src/android/build.gradle" type="gradleReference" />
<hook src="src/hooks/support-kotlin.js" type="after_plugin_install" />
</platform>
</plugin>