scandit-react-native-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.
- package/android/build.gradle +1 -1
- package/dist/core.js +10 -6
- package/dist/core.js.map +1 -1
- package/dist/dts/DataCaptureView.d.ts +4 -1
- package/dist/index.js +21 -10
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/scandit-react-native-datacapture-core.podspec +2 -2
package/android/build.gradle
CHANGED
|
@@ -99,7 +99,7 @@ if (file( "${rootProject.projectDir}/build-test.gradle").exists()) {
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
dependencies {
|
|
102
|
-
def sdk_version = "8.4.
|
|
102
|
+
def sdk_version = "8.4.1"
|
|
103
103
|
|
|
104
104
|
println("Version of the native sdk used in this build: ${safeExtGet('frameworks_sdk_version', sdk_version)}")
|
|
105
105
|
if (findProject(':scandit-datacapture-frameworks-core') != null) {
|
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
|
-
:
|
|
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)),
|