scandit-capacitor-datacapture-barcode 7.1.1 → 7.1.3
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
package/dist/barcode.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { nameForSerialization, serializationDefault, NoViewfinder, NoneLocationSelection, DefaultSerializeable, ignoreFromSerialization, FactoryMaker, Feedback, Quadrilateral, EventDataParser, BaseController, Brush, Observable, TextAlignment, FontFamily, AimerViewfinder, Anchor, PointWithUnit, BaseNewController, CameraSettings, Color, ScanditIcon, CameraController
|
|
1
|
+
import { nameForSerialization, serializationDefault, NoViewfinder, NoneLocationSelection, DefaultSerializeable, ignoreFromSerialization, FactoryMaker, Feedback, Quadrilateral, EventDataParser, BaseController, Brush, Observable, TextAlignment, FontFamily, AimerViewfinder, Anchor, PointWithUnit, BaseNewController, CameraSettings, Color, ScanditIcon, CameraController } from 'scandit-capacitor-datacapture-core/dist/core';
|
|
2
2
|
|
|
3
3
|
var Symbology;
|
|
4
4
|
(function (Symbology) {
|
|
@@ -5719,15 +5719,12 @@ class BarcodeBatchListenerController {
|
|
|
5719
5719
|
this.barcodeBatch.isInListenerCallback = value;
|
|
5720
5720
|
});
|
|
5721
5721
|
this.eventEmitter.on(BarcodeBatchListenerEvents.didUpdateSession, (data) => __awaiter(this, void 0, void 0, function* () {
|
|
5722
|
-
var _a;
|
|
5723
5722
|
const payload = EventDataParser.parse(data);
|
|
5724
5723
|
if (payload === null) {
|
|
5725
5724
|
console.error('BarcodeBatchListenerController didUpdateSession payload is null');
|
|
5726
5725
|
return;
|
|
5727
5726
|
}
|
|
5728
5727
|
const session = BarcodeBatchSession.fromJSON(payload);
|
|
5729
|
-
// Read the feature flag from the payload and set it in the DataCaptureContextFeatures.
|
|
5730
|
-
DataCaptureContextFeatures.setIsFeatureSupported("barcode-ar-full", (_a = payload.isBarcodeArFull) !== null && _a !== void 0 ? _a : false);
|
|
5731
5728
|
yield this.notifyListenersOfDidUpdateSession(session);
|
|
5732
5729
|
this._proxy.finishDidUpdateSessionCallback(this.barcodeBatch.isEnabled);
|
|
5733
5730
|
}));
|