scandit-capacitor-datacapture-core 6.28.0-beta.2 → 6.28.0
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/ScanditCapacitorDatacaptureCore.podspec +1 -1
- package/android/build.gradle +1 -1
- package/dist/core.js +14 -2
- package/dist/core.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/scripts/detect_frameworks.rb +6 -1
package/android/build.gradle
CHANGED
package/dist/core.js
CHANGED
|
@@ -989,6 +989,16 @@ class DataCaptureContextSettings extends DefaultSerializeable {
|
|
|
989
989
|
}
|
|
990
990
|
}
|
|
991
991
|
|
|
992
|
+
class DataCaptureContextFeatures {
|
|
993
|
+
static get featureFlags() {
|
|
994
|
+
return this._featureFlags;
|
|
995
|
+
}
|
|
996
|
+
static set featureFlags(value) {
|
|
997
|
+
this._featureFlags = value;
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
DataCaptureContextFeatures._featureFlags = {};
|
|
1001
|
+
|
|
992
1002
|
var DataCaptureContextEvents;
|
|
993
1003
|
(function (DataCaptureContextEvents) {
|
|
994
1004
|
DataCaptureContextEvents["didChangeStatus"] = "DataCaptureContextListener.onStatusChanged";
|
|
@@ -1050,7 +1060,9 @@ class DataCaptureContextController {
|
|
|
1050
1060
|
initializeContextFromJSON() {
|
|
1051
1061
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1052
1062
|
try {
|
|
1053
|
-
yield this._proxy.contextFromJSON(this.context);
|
|
1063
|
+
const featureFlagsString = yield this._proxy.contextFromJSON(this.context);
|
|
1064
|
+
DataCaptureContextFeatures.featureFlags =
|
|
1065
|
+
JSON.parse(featureFlagsString);
|
|
1054
1066
|
}
|
|
1055
1067
|
catch (error) {
|
|
1056
1068
|
this.notifyListenersOfDeserializationError(error);
|
|
@@ -2903,5 +2915,5 @@ var Expiration;
|
|
|
2903
2915
|
|
|
2904
2916
|
createEventEmitter();
|
|
2905
2917
|
|
|
2906
|
-
export { AimerViewfinder, Anchor, BaseController, BaseDataCaptureView, BaseNativeProxy, Brush, Camera, CameraController, CameraPosition, CameraSettings, Color, ContextStatus, ControlImage, DataCaptureContext, DataCaptureContextEvents, DataCaptureContextSettings, DataCaptureViewController, DataCaptureViewEvents, DefaultSerializeable, Direction, EventEmitter, Expiration, FactoryMaker, Feedback, FocusGestureStrategy, FocusRange, FrameSourceListenerEvents, FrameSourceState, ImageBuffer, ImageFrameSource, LaserlineViewfinder, LaserlineViewfinderStyle, LicenseInfo, LogoStyle, MarginsWithUnit, MeasureUnit, NoViewfinder, NoneLocationSelection, NumberWithUnit, Orientation, Point, PointWithUnit, PrivateFocusGestureDeserializer, PrivateFrameData, PrivateZoomGestureDeserializer, Quadrilateral, RadiusLocationSelection, Rect, RectWithUnit, RectangularLocationSelection, RectangularViewfinder, RectangularViewfinderAnimation, RectangularViewfinderLineStyle, RectangularViewfinderStyle, ScanIntention, Size, SizeWithAspect, SizeWithUnit, SizeWithUnitAndAspect, SizingMode, Sound, SpotlightViewfinder, SwipeToZoom, TapToFocus, TorchState, TorchSwitchControl, Vibration, VibrationType, VideoResolution, WaveFormVibration, ZoomSwitchControl, getCoreDefaults, ignoreFromSerialization, ignoreFromSerializationIfNull, loadCoreDefaults, nameForSerialization, serializationDefault };
|
|
2918
|
+
export { AimerViewfinder, Anchor, BaseController, BaseDataCaptureView, BaseNativeProxy, Brush, Camera, CameraController, CameraPosition, CameraSettings, Color, ContextStatus, ControlImage, DataCaptureContext, DataCaptureContextEvents, DataCaptureContextFeatures, DataCaptureContextSettings, DataCaptureViewController, DataCaptureViewEvents, DefaultSerializeable, Direction, EventEmitter, Expiration, FactoryMaker, Feedback, FocusGestureStrategy, FocusRange, FrameSourceListenerEvents, FrameSourceState, ImageBuffer, ImageFrameSource, LaserlineViewfinder, LaserlineViewfinderStyle, LicenseInfo, LogoStyle, MarginsWithUnit, MeasureUnit, NoViewfinder, NoneLocationSelection, NumberWithUnit, Orientation, Point, PointWithUnit, PrivateFocusGestureDeserializer, PrivateFrameData, PrivateZoomGestureDeserializer, Quadrilateral, RadiusLocationSelection, Rect, RectWithUnit, RectangularLocationSelection, RectangularViewfinder, RectangularViewfinderAnimation, RectangularViewfinderLineStyle, RectangularViewfinderStyle, ScanIntention, Size, SizeWithAspect, SizeWithUnit, SizeWithUnitAndAspect, SizingMode, Sound, SpotlightViewfinder, SwipeToZoom, TapToFocus, TorchState, TorchSwitchControl, Vibration, VibrationType, VideoResolution, WaveFormVibration, ZoomSwitchControl, getCoreDefaults, ignoreFromSerialization, ignoreFromSerializationIfNull, loadCoreDefaults, nameForSerialization, serializationDefault };
|
|
2907
2919
|
//# sourceMappingURL=core.js.map
|