scandit-cordova-datacapture-barcode
Advanced tools
Comparing version 6.19.0-beta.0 to 6.19.0-beta.1
{ | ||
"name": "scandit-cordova-datacapture-barcode", | ||
"version": "6.19.0-beta.0", | ||
"version": "6.19.0-beta.1", | ||
"description": "Scandit Data Capture SDK for Cordova", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -50,7 +50,9 @@ "use strict"; | ||
const brush = this.overlay.listener.brushForTrackedBarcode(this.overlay, trackedBarcode); | ||
const result = { brush: brush ? JSON.stringify(brush.toJSON()) : null }; | ||
BarcodeTrackingBasicOverlayProxy.cordovaExec(null, null, Cordova_1.CordovaFunction.FinishBarcodeTrackingBrushForTrackedBarcode, [result]); | ||
return result; | ||
const result = { | ||
brush: brush ? JSON.stringify(brush.toJSON()) : null, | ||
sessionFrameSequenceID: trackedBarcode.sessionFrameSequenceID, | ||
trackedBarcodeID: trackedBarcode.identifier | ||
}; | ||
BarcodeTrackingBasicOverlayProxy.cordovaExec(null, null, Cordova_1.CordovaFunction.SetBrushForTrackedBarcode, [result]); | ||
} | ||
BarcodeTrackingBasicOverlayProxy.cordovaExec(null, null, Cordova_1.CordovaFunction.FinishBarcodeTrackingBrushForTrackedBarcode, [{ brush: null }]); | ||
break; | ||
@@ -57,0 +59,0 @@ case BarcodeTrackingBasicOverlayListenerEvent.DidTapTrackedBarcode: |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2974
6
240024
67