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