scandit-react-native-datacapture-core 8.4.0-beta.1 → 8.4.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/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.0
|
|
102
|
+
def sdk_version = "8.4.0"
|
|
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
|
@@ -4938,16 +4938,14 @@ function parseDefaults(jsonDefaults) {
|
|
|
4938
4938
|
focusGesture: PrivateFocusGestureDeserializer['fromJSON'](parseOrUse(jsonDefaults.DataCaptureView.focusGesture)),
|
|
4939
4939
|
zoomGesture: PrivateZoomGestureDeserializer['fromJSON'](parseOrUse(jsonDefaults.DataCaptureView.zoomGesture)),
|
|
4940
4940
|
zoomGestures: jsonDefaults.DataCaptureView.zoomGestures
|
|
4941
|
-
? PrivateZoomGestureDeserializer['fromJSONArray'](parseOrUse(jsonDefaults.DataCaptureView.zoomGestures))
|
|
4942
|
-
:
|
|
4941
|
+
? PrivateZoomGestureDeserializer['fromJSONArray'](parseOrUse(jsonDefaults.DataCaptureView.zoomGestures).map(parseOrUse))
|
|
4942
|
+
: PrivateZoomGestureDeserializer['fromJSON'](parseOrUse(jsonDefaults.DataCaptureView.zoomGesture)) != null
|
|
4943
4943
|
? [PrivateZoomGestureDeserializer['fromJSON'](parseOrUse(jsonDefaults.DataCaptureView.zoomGesture))]
|
|
4944
|
-
: []
|
|
4944
|
+
: [],
|
|
4945
4945
|
logoStyle: jsonDefaults.DataCaptureView.logoStyle,
|
|
4946
4946
|
shouldShowZoomNotification: jsonDefaults.DataCaptureView.shouldShowZoomNotification,
|
|
4947
4947
|
},
|
|
4948
|
-
RectangularViewfinder: Object
|
|
4949
|
-
.keys(jsonDefaults.RectangularViewfinder.styles)
|
|
4950
|
-
.reduce((acc, key) => {
|
|
4948
|
+
RectangularViewfinder: Object.keys(jsonDefaults.RectangularViewfinder.styles).reduce((acc, key) => {
|
|
4951
4949
|
const viewfinder = jsonDefaults.RectangularViewfinder.styles[key];
|
|
4952
4950
|
acc.styles[key] = {
|
|
4953
4951
|
size: SizeWithUnitAndAspect['fromJSON'](parseOrUse(viewfinder.size)),
|