scandit-capacitor-datacapture-barcode 6.19.0-beta.1 → 6.19.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/android/build.gradle
CHANGED
|
@@ -30,7 +30,8 @@ class ScanditCapacitorBarcode: CAPPlugin {
|
|
|
30
30
|
barcodeTrackingModule = BarcodeTrackingModule(
|
|
31
31
|
barcodeTrackingListener: FrameworksBarcodeTrackingListener(emitter: emitter),
|
|
32
32
|
barcodeTrackingBasicOverlayListener: FrameworksBarcodeTrackingBasicOverlayListener(emitter: emitter),
|
|
33
|
-
barcodeTrackingAdvancedOverlayListener: FrameworksBarcodeTrackingAdvancedOverlayListener(emitter: emitter)
|
|
33
|
+
barcodeTrackingAdvancedOverlayListener: FrameworksBarcodeTrackingAdvancedOverlayListener(emitter: emitter),
|
|
34
|
+
emitter: emitter
|
|
34
35
|
)
|
|
35
36
|
barcodeSelectionModule = BarcodeSelectionModule(
|
|
36
37
|
barcodeSelectionListener: FrameworksBarcodeSelectionListener(emitter: emitter),
|
|
@@ -182,7 +183,7 @@ class ScanditCapacitorBarcode: CAPPlugin {
|
|
|
182
183
|
call.reject(CommandError.invalidJSON.toJSONString())
|
|
183
184
|
return
|
|
184
185
|
}
|
|
185
|
-
let view: TrackedBarcodeView = dispatchMainSync { TrackedBarcodeView(json: viewJson)
|
|
186
|
+
let view: TrackedBarcodeView? = dispatchMainSync { TrackedBarcodeView(json: viewJson) }
|
|
186
187
|
barcodeTrackingModule.setViewForTrackedBarcode(view: view,
|
|
187
188
|
trackedBarcodeId: json.trackedBarcodeID,
|
|
188
189
|
sessionFrameSequenceId: json.sessionFrameSequenceID)
|
|
@@ -383,7 +384,7 @@ class ScanditCapacitorBarcode: CAPPlugin {
|
|
|
383
384
|
|
|
384
385
|
@objc(updateView:)
|
|
385
386
|
func updateView(_ call: CAPPluginCall) {
|
|
386
|
-
guard let
|
|
387
|
+
guard let _ = barcodeCountViewHandler.barcodeCountView,
|
|
387
388
|
let viewJson = call.getString("BarcodeCountView") else {
|
|
388
389
|
call.reject(CommandError.noBarcodeCountView.toJSONString())
|
|
389
390
|
return
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* Copyright (C) 2023- Scandit AG. All rights reserved.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
import ScanditFrameworksBarcode
|
|
7
8
|
import UIKit
|
|
8
|
-
import CoreGraphics
|
|
9
9
|
|
|
10
|
-
class TappableBase64ImageView: UIImageView {
|
|
10
|
+
class TappableBase64ImageView: UIImageView, TappableView {
|
|
11
11
|
struct JSON: Decodable {
|
|
12
12
|
struct OptionsJSON: Decodable {
|
|
13
13
|
// swiftlint:disable:next nesting
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scandit-capacitor-datacapture-barcode",
|
|
3
|
-
"version": "6.19.0-beta.
|
|
3
|
+
"version": "6.19.0-beta.2",
|
|
4
4
|
"description": "Scandit Data Capture SDK for Capacitor",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"private": false,
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"watch": "tsc --watch"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"scandit-capacitor-datacapture-core": "6.19.0-beta.
|
|
25
|
+
"scandit-capacitor-datacapture-core": "6.19.0-beta.2"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@capacitor/android": "^5.0.0",
|