nativescript-barcodescanner
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -176,3 +176,3 @@ "use strict"; | ||
_this._scanner.delegate = _this._scanDelegate; | ||
_this._scanDelegate.setCallback(arg.beepOnScan !== false, isContinuous_1, arg.reportDuplicates, arg.formats, function (text, format) { | ||
_this._scanDelegate.setCallback(arg.beepOnScan !== false, isContinuous_1, arg.reportDuplicates, arg.formats, function (text, barcodeFormat) { | ||
if (text === undefined) { | ||
@@ -184,3 +184,2 @@ _this._removeVolumeObserver(); | ||
else { | ||
var barcodeFormat = getBarcodeFormat(format); | ||
var value = text; | ||
@@ -187,0 +186,0 @@ if (shouldReturnEAN13AsUPCA(barcodeFormat, value, arg.formats)) { |
{ | ||
"name": "nativescript-barcodescanner", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "Scan QR/barcodes with your NativeScript app.", | ||
@@ -5,0 +5,0 @@ "main": "barcodescanner", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1710291
778