scandit-capacitor-datacapture-core 8.4.0-beta.1 → 8.4.1

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
  s.swift_version = "5.7"
18
18
 
19
19
  s.dependency "Capacitor"
20
- s.dependency "scandit-datacapture-frameworks-core", '= 8.4.0-beta.1'
20
+ s.dependency "scandit-datacapture-frameworks-core", '= 8.4.1'
21
21
  end
@@ -141,7 +141,7 @@ if (ext.has('repos')) {
141
141
  }
142
142
 
143
143
  dependencies {
144
- def sdk_version = "8.4.0-beta.1"
144
+ def sdk_version = "8.4.1"
145
145
 
146
146
  implementation fileTree(dir: 'libs', include: ['*.jar'])
147
147
 
package/dist/core.js CHANGED
@@ -2281,6 +2281,12 @@ class ImageFrameSource extends DefaultSerializeable {
2281
2281
  return Promise.resolve();
2282
2282
  }
2283
2283
  }
2284
+ setNativeFrameSourceIsBeingCreated() {
2285
+ // ImageFrameSource has no asynchronous native initialization step, so
2286
+ // there is nothing to track here. The method exists only to satisfy the
2287
+ // PrivateFrameSource contract that DataCaptureContext.setFrameSource()
2288
+ // invokes on every frame source.
2289
+ }
2284
2290
  }
2285
2291
  __decorate([
2286
2292
  nameForSerialization('id')
@@ -4938,16 +4944,14 @@ function parseDefaults(jsonDefaults) {
4938
4944
  focusGesture: PrivateFocusGestureDeserializer['fromJSON'](parseOrUse(jsonDefaults.DataCaptureView.focusGesture)),
4939
4945
  zoomGesture: PrivateZoomGestureDeserializer['fromJSON'](parseOrUse(jsonDefaults.DataCaptureView.zoomGesture)),
4940
4946
  zoomGestures: jsonDefaults.DataCaptureView.zoomGestures
4941
- ? PrivateZoomGestureDeserializer['fromJSONArray'](parseOrUse(jsonDefaults.DataCaptureView.zoomGestures))
4942
- : (PrivateZoomGestureDeserializer['fromJSON'](parseOrUse(jsonDefaults.DataCaptureView.zoomGesture)) != null
4947
+ ? PrivateZoomGestureDeserializer['fromJSONArray'](parseOrUse(jsonDefaults.DataCaptureView.zoomGestures).map(parseOrUse))
4948
+ : PrivateZoomGestureDeserializer['fromJSON'](parseOrUse(jsonDefaults.DataCaptureView.zoomGesture)) != null
4943
4949
  ? [PrivateZoomGestureDeserializer['fromJSON'](parseOrUse(jsonDefaults.DataCaptureView.zoomGesture))]
4944
- : []),
4950
+ : [],
4945
4951
  logoStyle: jsonDefaults.DataCaptureView.logoStyle,
4946
4952
  shouldShowZoomNotification: jsonDefaults.DataCaptureView.shouldShowZoomNotification,
4947
4953
  },
4948
- RectangularViewfinder: Object
4949
- .keys(jsonDefaults.RectangularViewfinder.styles)
4950
- .reduce((acc, key) => {
4954
+ RectangularViewfinder: Object.keys(jsonDefaults.RectangularViewfinder.styles).reduce((acc, key) => {
4951
4955
  const viewfinder = jsonDefaults.RectangularViewfinder.styles[key];
4952
4956
  acc.styles[key] = {
4953
4957
  size: SizeWithUnitAndAspect['fromJSON'](parseOrUse(viewfinder.size)),