scandit-react-native-datacapture-core 8.2.0 → 8.3.0-beta.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/THIRD_PARTY.txt +1 -1
- package/android/build.gradle +20 -9
- package/android/generated/java/com/facebook/fbreact/specs/NativeScanditDataCaptureCoreSpec.java +83 -0
- package/android/generated/java/com/facebook/react/viewmanagers/RNTDataCaptureViewManagerDelegate.java +26 -0
- package/android/generated/java/com/facebook/react/viewmanagers/RNTDataCaptureViewManagerInterface.java +16 -0
- package/android/generated/jni/CMakeLists.txt +29 -0
- package/android/generated/jni/ScanditReactNativeDatacaptureCoreSpec-generated.cpp +52 -0
- package/android/generated/jni/ScanditReactNativeDatacaptureCoreSpec.h +31 -0
- package/android/generated/jni/react/renderer/components/ScanditReactNativeDatacaptureCoreSpec/ComponentDescriptors.cpp +22 -0
- package/android/generated/jni/react/renderer/components/ScanditReactNativeDatacaptureCoreSpec/ComponentDescriptors.h +24 -0
- package/android/generated/jni/react/renderer/components/ScanditReactNativeDatacaptureCoreSpec/EventEmitters.cpp +16 -0
- package/android/generated/jni/react/renderer/components/ScanditReactNativeDatacaptureCoreSpec/EventEmitters.h +23 -0
- package/android/generated/jni/react/renderer/components/ScanditReactNativeDatacaptureCoreSpec/Props.cpp +25 -0
- package/android/generated/jni/react/renderer/components/ScanditReactNativeDatacaptureCoreSpec/Props.h +27 -0
- package/android/generated/jni/react/renderer/components/ScanditReactNativeDatacaptureCoreSpec/ScanditReactNativeDatacaptureCoreSpecJSI-generated.cpp +47 -0
- package/android/generated/jni/react/renderer/components/ScanditReactNativeDatacaptureCoreSpec/ScanditReactNativeDatacaptureCoreSpecJSI.h +169 -0
- package/android/generated/jni/react/renderer/components/ScanditReactNativeDatacaptureCoreSpec/ShadowNodes.cpp +17 -0
- package/android/generated/jni/react/renderer/components/ScanditReactNativeDatacaptureCoreSpec/ShadowNodes.h +32 -0
- package/android/generated/jni/react/renderer/components/ScanditReactNativeDatacaptureCoreSpec/States.cpp +16 -0
- package/android/generated/jni/react/renderer/components/ScanditReactNativeDatacaptureCoreSpec/States.h +29 -0
- package/android/src/main/AndroidManifest.xml +3 -1
- package/android/src/main/AndroidManifestNew.xml +3 -1
- package/android/src/main/kotlin/com/scandit/datacapture/reactnative/core/{ScanditDataCaptureCoreModule.kt → ScanditDataCaptureCoreModuleBase.kt} +15 -40
- package/android/src/main/kotlin/com/scandit/datacapture/reactnative/core/ScanditDataCaptureCorePackage.kt +1 -23
- package/android/src/main/kotlin/com/scandit/datacapture/reactnative/core/ui/{DataCaptureViewManager.kt → DataCaptureViewManagerBase.kt} +9 -4
- package/android/src/main/newArch/kotlin/com/scandit/datacapture/reactnative/core/ScanditDataCaptureCoreModule.kt +72 -0
- package/android/src/main/newArch/kotlin/com/scandit/datacapture/reactnative/core/ScanditReactPackageBase.kt +44 -11
- package/android/src/main/newArch/kotlin/com/scandit/datacapture/reactnative/core/ui/DataCaptureViewManager.kt +31 -0
- package/android/src/main/newArch/kotlin/com/scandit/datacapture/reactnative/core/utils/ReactNativeEventEmitter.kt +39 -0
- package/android/src/main/oldArch/kotlin/com/scandit/datacapture/reactnative/core/ScanditDataCaptureCoreModule.kt +86 -0
- package/android/src/main/oldArch/kotlin/com/scandit/datacapture/reactnative/core/ScanditReactPackageBase.kt +5 -2
- package/android/src/main/oldArch/kotlin/com/scandit/datacapture/reactnative/core/ui/DataCaptureViewManager.kt +18 -0
- package/android/src/main/{kotlin → oldArch/kotlin}/com/scandit/datacapture/reactnative/core/utils/ReactNativeEventEmitter.kt +4 -1
- package/dist/core.js +850 -62
- package/dist/core.js.map +1 -1
- package/dist/dts/DataCaptureView.d.ts +3 -0
- package/dist/dts/index.d.ts +79 -13
- package/dist/dts/native/RNNativeCaller.d.ts +8 -1
- package/dist/index.js +44 -7
- package/dist/index.js.flow +79 -99
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/ios/Sources/NewArch/RCTDataCaptureView.mm +110 -0
- package/ios/Sources/NewArch/ScanditDataCaptureCore.mm +102 -0
- package/ios/Sources/OldArch/RCTFabricDataCaptureViewContainers.mm +17 -0
- package/ios/Sources/OldArch/ScanditDataCaptureCore.mm +92 -0
- package/ios/Sources/RNTSDCDataCaptureViewManager.swift +41 -0
- package/ios/Sources/SDCLogger.h +11 -0
- package/ios/Sources/SDCLogger.m +16 -0
- package/ios/Sources/SDCTurboModuleEventBridge.h +42 -0
- package/ios/Sources/SDCTurboModuleEventBridge.m +20 -0
- package/ios/Sources/ScanditDataCaptureCore-Bridging-Header.h +3 -0
- package/ios/Sources/ScanditDataCaptureCore.h +35 -1
- package/ios/Sources/ScanditDataCaptureCore.swift +134 -60
- package/ios/Sources/Shared/DataCaptureViewWrapper.swift +129 -0
- package/ios/Sources/{Protocols → Shared}/ScanditReactNativeFactoryContainer.swift +7 -3
- package/ios/Sources/Utils/CallbackLock.swift +1 -1
- package/ios/Sources/Utils/ReactNativeEmitter.swift +43 -10
- package/ios/generated/ScanditReactNativeDatacaptureCoreSpec/ComponentDescriptors.cpp +22 -0
- package/ios/generated/ScanditReactNativeDatacaptureCoreSpec/ComponentDescriptors.h +24 -0
- package/ios/generated/ScanditReactNativeDatacaptureCoreSpec/EventEmitters.cpp +16 -0
- package/ios/generated/ScanditReactNativeDatacaptureCoreSpec/EventEmitters.h +23 -0
- package/ios/generated/ScanditReactNativeDatacaptureCoreSpec/Props.cpp +25 -0
- package/ios/generated/ScanditReactNativeDatacaptureCoreSpec/Props.h +27 -0
- package/ios/generated/ScanditReactNativeDatacaptureCoreSpec/RCTComponentViewHelpers.h +20 -0
- package/ios/generated/ScanditReactNativeDatacaptureCoreSpec/ScanditReactNativeDatacaptureCoreSpec-generated.mm +67 -0
- package/ios/generated/ScanditReactNativeDatacaptureCoreSpec/ScanditReactNativeDatacaptureCoreSpec.h +109 -0
- package/ios/generated/ScanditReactNativeDatacaptureCoreSpec/ShadowNodes.cpp +17 -0
- package/ios/generated/ScanditReactNativeDatacaptureCoreSpec/ShadowNodes.h +32 -0
- package/ios/generated/ScanditReactNativeDatacaptureCoreSpec/States.cpp +16 -0
- package/ios/generated/ScanditReactNativeDatacaptureCoreSpec/States.h +29 -0
- package/ios/generated/ScanditReactNativeDatacaptureCoreSpecJSI-generated.cpp +47 -0
- package/ios/generated/ScanditReactNativeDatacaptureCoreSpecJSI.h +169 -0
- package/package.json +26 -7
- package/react-native.config.js +12 -0
- package/scandit-react-native-datacapture-core.podspec +49 -17
- package/specs/NativeScanditDataCaptureCore.ts +36 -0
- package/specs/RNTDataCaptureViewNativeComponent.ts +14 -0
- package/ios/Sources/ScanditDataCaptureCore.m +0 -30
- package/ios/Sources/ScanditDataCaptureViewManager.swift +0 -63
|
@@ -31,6 +31,9 @@ export declare class DataCaptureView extends React.Component<DataCaptureViewProp
|
|
|
31
31
|
set focusGesture(newValue: FocusGesture | null);
|
|
32
32
|
get zoomGesture(): ZoomGesture | null;
|
|
33
33
|
set zoomGesture(newValue: ZoomGesture | null);
|
|
34
|
+
get shouldShowZoomNotification(): boolean;
|
|
35
|
+
set shouldShowZoomNotification(newValue: boolean);
|
|
36
|
+
setProperty<T>(name: string, value: T): void;
|
|
34
37
|
addOverlay(overlay: DataCaptureOverlay): Promise<void>;
|
|
35
38
|
removeOverlay(overlay: DataCaptureOverlay): Promise<void>;
|
|
36
39
|
addListener(listener: DataCaptureViewListener): void;
|
package/dist/dts/index.d.ts
CHANGED
|
@@ -2,22 +2,88 @@ import { initCoreProxy } from './native/initProxy';
|
|
|
2
2
|
import { initCoreDefaults } from './private/Defaults';
|
|
3
3
|
export { initCoreDefaults };
|
|
4
4
|
export { initCoreProxy };
|
|
5
|
-
export { Point
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
5
|
+
export { Point } from 'scandit-datacapture-frameworks-core';
|
|
6
|
+
export { Quadrilateral } from 'scandit-datacapture-frameworks-core';
|
|
7
|
+
export { NumberWithUnit } from 'scandit-datacapture-frameworks-core';
|
|
8
|
+
export { PointWithUnit } from 'scandit-datacapture-frameworks-core';
|
|
9
|
+
export { Rect } from 'scandit-datacapture-frameworks-core';
|
|
10
|
+
export { RectWithUnit } from 'scandit-datacapture-frameworks-core';
|
|
11
|
+
export { SizeWithUnit } from 'scandit-datacapture-frameworks-core';
|
|
12
|
+
export { Size } from 'scandit-datacapture-frameworks-core';
|
|
13
|
+
export { SizeWithAspect } from 'scandit-datacapture-frameworks-core';
|
|
14
|
+
export { SizeWithUnitAndAspect } from 'scandit-datacapture-frameworks-core';
|
|
15
|
+
export { MarginsWithUnit } from 'scandit-datacapture-frameworks-core';
|
|
16
|
+
export { Color } from 'scandit-datacapture-frameworks-core';
|
|
17
|
+
export { Brush } from 'scandit-datacapture-frameworks-core';
|
|
18
|
+
export { MeasureUnit } from 'scandit-datacapture-frameworks-core';
|
|
19
|
+
export { SizingMode } from 'scandit-datacapture-frameworks-core';
|
|
20
|
+
export { Anchor } from 'scandit-datacapture-frameworks-core';
|
|
21
|
+
export { Orientation } from 'scandit-datacapture-frameworks-core';
|
|
22
|
+
export { Direction } from 'scandit-datacapture-frameworks-core';
|
|
23
|
+
export { ScanIntention } from 'scandit-datacapture-frameworks-core';
|
|
24
|
+
export { ClusteringMode } from 'scandit-datacapture-frameworks-core';
|
|
25
|
+
export { Control } from 'scandit-datacapture-frameworks-core';
|
|
26
|
+
export { ZoomSwitchControl } from 'scandit-datacapture-frameworks-core';
|
|
27
|
+
export { TorchSwitchControl } from 'scandit-datacapture-frameworks-core';
|
|
28
|
+
export { FrameSourceState } from 'scandit-datacapture-frameworks-core';
|
|
29
|
+
export { FrameSourceListener } from 'scandit-datacapture-frameworks-core';
|
|
30
|
+
export { TorchListener } from 'scandit-datacapture-frameworks-core';
|
|
31
|
+
export { MacroModeListener } from 'scandit-datacapture-frameworks-core';
|
|
32
|
+
export { FrameSource } from 'scandit-datacapture-frameworks-core';
|
|
33
|
+
export { FrameDataSettings } from 'scandit-datacapture-frameworks-core';
|
|
34
|
+
export { FrameDataSettingsBuilder } from 'scandit-datacapture-frameworks-core';
|
|
35
|
+
export { DataCaptureContextListener } from 'scandit-datacapture-frameworks-core';
|
|
36
|
+
export { ContextStatus } from 'scandit-datacapture-frameworks-core';
|
|
37
|
+
export { Camera } from 'scandit-datacapture-frameworks-core';
|
|
38
|
+
export { TorchState } from 'scandit-datacapture-frameworks-core';
|
|
39
|
+
export { CameraPosition } from 'scandit-datacapture-frameworks-core';
|
|
40
|
+
export { VideoResolution } from 'scandit-datacapture-frameworks-core';
|
|
41
|
+
export { FocusRange } from 'scandit-datacapture-frameworks-core';
|
|
42
|
+
export { FocusGesture } from 'scandit-datacapture-frameworks-core';
|
|
43
|
+
export { FocusGestureStrategy } from 'scandit-datacapture-frameworks-core';
|
|
44
|
+
export { FocusGestureListener } from 'scandit-datacapture-frameworks-core';
|
|
45
|
+
export { ZoomGesture } from 'scandit-datacapture-frameworks-core';
|
|
46
|
+
export { ZoomGestureListener } from 'scandit-datacapture-frameworks-core';
|
|
47
|
+
export { SwipeToZoom } from 'scandit-datacapture-frameworks-core';
|
|
48
|
+
export { CameraSettings } from 'scandit-datacapture-frameworks-core';
|
|
49
|
+
export { MacroMode } from 'scandit-datacapture-frameworks-core';
|
|
50
|
+
export { FrameData } from 'scandit-datacapture-frameworks-core';
|
|
51
|
+
export { ImageBuffer } from 'scandit-datacapture-frameworks-core';
|
|
52
|
+
export { ImageFrameSource } from 'scandit-datacapture-frameworks-core';
|
|
53
|
+
export { TapToFocus } from 'scandit-datacapture-frameworks-core';
|
|
54
|
+
export { DataCaptureMode } from 'scandit-datacapture-frameworks-core';
|
|
55
|
+
export { DataCaptureComponent } from 'scandit-datacapture-frameworks-core';
|
|
56
|
+
export { DataCaptureContextCreationOptions } from 'scandit-datacapture-frameworks-core';
|
|
57
|
+
export { DataCaptureContextSettings } from 'scandit-datacapture-frameworks-core';
|
|
58
|
+
export { DataCaptureContext } from 'scandit-datacapture-frameworks-core';
|
|
59
|
+
export { DataCaptureOverlay } from 'scandit-datacapture-frameworks-core';
|
|
60
|
+
export { LogoStyle } from 'scandit-datacapture-frameworks-core';
|
|
12
61
|
export * from './DataCaptureVersion';
|
|
13
62
|
export * from './DataCaptureView';
|
|
14
|
-
export { Vibration
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
63
|
+
export { Vibration } from 'scandit-datacapture-frameworks-core';
|
|
64
|
+
export { WaveFormVibration } from 'scandit-datacapture-frameworks-core';
|
|
65
|
+
export { Sound } from 'scandit-datacapture-frameworks-core';
|
|
66
|
+
export { Feedback } from 'scandit-datacapture-frameworks-core';
|
|
67
|
+
export { LocationSelection } from 'scandit-datacapture-frameworks-core';
|
|
68
|
+
export { NoneLocationSelection } from 'scandit-datacapture-frameworks-core';
|
|
69
|
+
export { RadiusLocationSelection } from 'scandit-datacapture-frameworks-core';
|
|
70
|
+
export { RectangularLocationSelection } from 'scandit-datacapture-frameworks-core';
|
|
71
|
+
export { Viewfinder } from 'scandit-datacapture-frameworks-core';
|
|
72
|
+
export { NoViewfinder } from 'scandit-datacapture-frameworks-core';
|
|
73
|
+
export { RectangularViewfinder } from 'scandit-datacapture-frameworks-core';
|
|
74
|
+
export { AimerViewfinder } from 'scandit-datacapture-frameworks-core';
|
|
75
|
+
export { LaserlineViewfinder } from 'scandit-datacapture-frameworks-core';
|
|
76
|
+
export { RectangularViewfinderStyle } from 'scandit-datacapture-frameworks-core';
|
|
77
|
+
export { RectangularViewfinderLineStyle } from 'scandit-datacapture-frameworks-core';
|
|
78
|
+
export { RectangularViewfinderAnimation } from 'scandit-datacapture-frameworks-core';
|
|
79
|
+
export { LicenseInfo } from 'scandit-datacapture-frameworks-core';
|
|
80
|
+
export { Expiration } from 'scandit-datacapture-frameworks-core';
|
|
81
|
+
export { OpenSourceSoftwareLicenseInfo } from 'scandit-datacapture-frameworks-core';
|
|
19
82
|
export { FontFamily } from 'scandit-datacapture-frameworks-core';
|
|
20
83
|
export { TextAlignment } from 'scandit-datacapture-frameworks-core';
|
|
21
|
-
export { ScanditIcon
|
|
84
|
+
export { ScanditIcon } from 'scandit-datacapture-frameworks-core';
|
|
85
|
+
export { ScanditIconShape } from 'scandit-datacapture-frameworks-core';
|
|
86
|
+
export { ScanditIconType } from 'scandit-datacapture-frameworks-core';
|
|
87
|
+
export { ScanditIconBuilder } from 'scandit-datacapture-frameworks-core';
|
|
22
88
|
export * from './native/RNNativeCaller';
|
|
23
89
|
export * from './native/ScanditNativeModule';
|
|
@@ -2,8 +2,15 @@ import { NativeCaller } from 'scandit-datacapture-frameworks-core';
|
|
|
2
2
|
import { ScanditNativeModule } from './ScanditNativeModule';
|
|
3
3
|
export declare class RNNativeCaller implements NativeCaller {
|
|
4
4
|
private nativeModule;
|
|
5
|
-
private
|
|
5
|
+
private _nativeEventEmitter;
|
|
6
6
|
constructor(nativeModule: ScanditNativeModule);
|
|
7
|
+
/**
|
|
8
|
+
* Lazily creates the NativeEventEmitter only when needed (old architecture fallback).
|
|
9
|
+
* Avoids the "NativeEventEmitter was called with a non-null argument without the
|
|
10
|
+
* required addListener method" warning that fires when eagerly constructing the
|
|
11
|
+
* emitter for TurboModule-based native modules.
|
|
12
|
+
*/
|
|
13
|
+
private get nativeEventEmitter();
|
|
7
14
|
get framework(): string;
|
|
8
15
|
get frameworkVersion(): string;
|
|
9
16
|
callFn(fnName: string, args: object | undefined | null, _meta?: {
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,25 @@
|
|
|
1
1
|
import { CORE_PROXY_TYPE_NAMES, registerCoreProxies, loadCoreDefaults, setCoreDefaultsLoader, BaseDataCaptureView } from './core.js';
|
|
2
|
-
export { AimerViewfinder, Anchor, Brush, Camera, CameraPosition, CameraSettings, Color, ContextStatus, DataCaptureContext, DataCaptureContextSettings, Direction, Expiration, Feedback, FocusGestureStrategy, FocusRange, FontFamily, FrameDataSettings, FrameDataSettingsBuilder, FrameSourceState, ImageBuffer, ImageFrameSource, LaserlineViewfinder, LicenseInfo, LogoStyle, MarginsWithUnit, MeasureUnit, NoViewfinder, NoneLocationSelection, NumberWithUnit, OpenSourceSoftwareLicenseInfo, Orientation, Point, PointWithUnit, Quadrilateral, RadiusLocationSelection, Rect, RectWithUnit, RectangularLocationSelection, RectangularViewfinder, RectangularViewfinderAnimation, RectangularViewfinderLineStyle, RectangularViewfinderStyle, ScanIntention, ScanditIcon, ScanditIconBuilder, ScanditIconShape, ScanditIconType, Size, SizeWithAspect, SizeWithUnit, SizeWithUnitAndAspect, SizingMode, Sound, SwipeToZoom, TapToFocus, TextAlignment, TorchState, TorchSwitchControl, Vibration, VideoResolution, WaveFormVibration, ZoomSwitchControl } from './core.js';
|
|
2
|
+
export { AimerViewfinder, Anchor, Brush, Camera, CameraPosition, CameraSettings, ClusteringMode, Color, ContextStatus, DataCaptureContext, DataCaptureContextSettings, Direction, Expiration, Feedback, FocusGestureStrategy, FocusRange, FontFamily, FrameDataSettings, FrameDataSettingsBuilder, FrameSourceState, ImageBuffer, ImageFrameSource, LaserlineViewfinder, LicenseInfo, LogoStyle, MacroMode, MarginsWithUnit, MeasureUnit, NoViewfinder, NoneLocationSelection, NumberWithUnit, OpenSourceSoftwareLicenseInfo, Orientation, Point, PointWithUnit, Quadrilateral, RadiusLocationSelection, Rect, RectWithUnit, RectangularLocationSelection, RectangularViewfinder, RectangularViewfinderAnimation, RectangularViewfinderLineStyle, RectangularViewfinderStyle, ScanIntention, ScanditIcon, ScanditIconBuilder, ScanditIconShape, ScanditIconType, Size, SizeWithAspect, SizeWithUnit, SizeWithUnitAndAspect, SizingMode, Sound, SwipeToZoom, TapToFocus, TextAlignment, TorchState, TorchSwitchControl, Vibration, VideoResolution, WaveFormVibration, ZoomSwitchControl } from './core.js';
|
|
3
3
|
import { NativeEventEmitter, Platform, NativeModules, TurboModuleRegistry, InteractionManager, findNodeHandle, requireNativeComponent } from 'react-native';
|
|
4
4
|
import React from 'react';
|
|
5
5
|
|
|
6
6
|
class RNNativeCaller {
|
|
7
7
|
nativeModule;
|
|
8
|
-
|
|
8
|
+
_nativeEventEmitter = null;
|
|
9
9
|
constructor(nativeModule) {
|
|
10
10
|
this.nativeModule = nativeModule;
|
|
11
|
-
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Lazily creates the NativeEventEmitter only when needed (old architecture fallback).
|
|
14
|
+
* Avoids the "NativeEventEmitter was called with a non-null argument without the
|
|
15
|
+
* required addListener method" warning that fires when eagerly constructing the
|
|
16
|
+
* emitter for TurboModule-based native modules.
|
|
17
|
+
*/
|
|
18
|
+
get nativeEventEmitter() {
|
|
19
|
+
if (!this._nativeEventEmitter) {
|
|
20
|
+
this._nativeEventEmitter = new NativeEventEmitter(this.nativeModule);
|
|
21
|
+
}
|
|
22
|
+
return this._nativeEventEmitter;
|
|
12
23
|
}
|
|
13
24
|
get framework() {
|
|
14
25
|
return 'react-native';
|
|
@@ -28,6 +39,18 @@ class RNNativeCaller {
|
|
|
28
39
|
return fn(args);
|
|
29
40
|
}
|
|
30
41
|
registerEvent(evName, handler) {
|
|
42
|
+
const newArchModule = this.nativeModule;
|
|
43
|
+
// New architecture: use CodegenTypes.EventEmitter (onScanditEvent)
|
|
44
|
+
// Each subscription filters by event name
|
|
45
|
+
if (newArchModule.onScanditEvent) {
|
|
46
|
+
const subscription = newArchModule.onScanditEvent((event) => {
|
|
47
|
+
if (event.name === evName) {
|
|
48
|
+
void handler(event);
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
return Promise.resolve(subscription);
|
|
52
|
+
}
|
|
53
|
+
// Old architecture fallback: one listener per event name via NativeEventEmitter
|
|
31
54
|
return Promise.resolve(this.nativeEventEmitter.addListener(evName, (event) => {
|
|
32
55
|
// Fire-and-forget: intentionally not awaiting to match NativeEventEmitter's sync signature
|
|
33
56
|
void handler(event);
|
|
@@ -64,13 +87,18 @@ function initCoreProxy() {
|
|
|
64
87
|
|
|
65
88
|
function getNativeModule(name) {
|
|
66
89
|
let mod = null;
|
|
67
|
-
// Try TurboModuleRegistry first (new architecture
|
|
90
|
+
// Try TurboModuleRegistry first (new architecture)
|
|
68
91
|
// Available in RN 0.70+
|
|
69
92
|
if (typeof TurboModuleRegistry !== 'undefined' && TurboModuleRegistry.get) {
|
|
93
|
+
// Try the module name directly first
|
|
70
94
|
mod = TurboModuleRegistry.get(name);
|
|
71
95
|
if (mod) {
|
|
72
|
-
|
|
73
|
-
|
|
96
|
+
return mod;
|
|
97
|
+
}
|
|
98
|
+
// Try with "Native" prefix (TurboModules naming convention)
|
|
99
|
+
const nativeName = `Native${name}`;
|
|
100
|
+
mod = TurboModuleRegistry.get(nativeName);
|
|
101
|
+
if (mod) {
|
|
74
102
|
return mod;
|
|
75
103
|
}
|
|
76
104
|
}
|
|
@@ -110,7 +138,7 @@ setCoreDefaultsLoader(initCoreDefaults);
|
|
|
110
138
|
const NativeModule = getNativeModule('ScanditDataCaptureCore');
|
|
111
139
|
class DataCaptureVersion {
|
|
112
140
|
static get pluginVersion() {
|
|
113
|
-
return '8.
|
|
141
|
+
return '8.3.0-beta.1';
|
|
114
142
|
}
|
|
115
143
|
static get sdkVersion() {
|
|
116
144
|
return NativeModule.Version;
|
|
@@ -169,6 +197,15 @@ class DataCaptureView extends React.Component {
|
|
|
169
197
|
set zoomGesture(newValue) {
|
|
170
198
|
this.view.zoomGesture = newValue;
|
|
171
199
|
}
|
|
200
|
+
get shouldShowZoomNotification() {
|
|
201
|
+
return this.view.shouldShowZoomNotification;
|
|
202
|
+
}
|
|
203
|
+
set shouldShowZoomNotification(newValue) {
|
|
204
|
+
this.view.shouldShowZoomNotification = newValue;
|
|
205
|
+
}
|
|
206
|
+
setProperty(name, value) {
|
|
207
|
+
this.view.setProperty(name, value);
|
|
208
|
+
}
|
|
172
209
|
addOverlay(overlay) {
|
|
173
210
|
return this.view.addOverlay(overlay);
|
|
174
211
|
}
|
package/dist/index.js.flow
CHANGED
|
@@ -8,108 +8,88 @@ import { initCoreProxy } from "./native/initProxy";
|
|
|
8
8
|
import { initCoreDefaults } from "./private/Defaults";
|
|
9
9
|
declare export { initCoreDefaults };
|
|
10
10
|
declare export { initCoreProxy };
|
|
11
|
-
declare export {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "scandit-datacapture-frameworks-core";
|
|
26
|
-
declare export {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "scandit-datacapture-frameworks-core";
|
|
34
|
-
declare export {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "scandit-datacapture-frameworks-core";
|
|
39
|
-
declare export {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "scandit-datacapture-frameworks-core";
|
|
46
|
-
declare export {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "scandit-datacapture-frameworks-core";
|
|
50
|
-
declare export {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
} from "scandit-datacapture-frameworks-core";
|
|
66
|
-
declare export {
|
|
67
|
-
DataCaptureMode,
|
|
68
|
-
DataCaptureComponent,
|
|
69
|
-
DataCaptureContextCreationOptions,
|
|
70
|
-
DataCaptureContextSettings,
|
|
71
|
-
DataCaptureContext,
|
|
72
|
-
DataCaptureOverlay,
|
|
73
|
-
LogoStyle,
|
|
74
|
-
} from "scandit-datacapture-frameworks-core";
|
|
11
|
+
declare export { Point } from "scandit-datacapture-frameworks-core";
|
|
12
|
+
declare export { Quadrilateral } from "scandit-datacapture-frameworks-core";
|
|
13
|
+
declare export { NumberWithUnit } from "scandit-datacapture-frameworks-core";
|
|
14
|
+
declare export { PointWithUnit } from "scandit-datacapture-frameworks-core";
|
|
15
|
+
declare export { Rect } from "scandit-datacapture-frameworks-core";
|
|
16
|
+
declare export { RectWithUnit } from "scandit-datacapture-frameworks-core";
|
|
17
|
+
declare export { SizeWithUnit } from "scandit-datacapture-frameworks-core";
|
|
18
|
+
declare export { Size } from "scandit-datacapture-frameworks-core";
|
|
19
|
+
declare export { SizeWithAspect } from "scandit-datacapture-frameworks-core";
|
|
20
|
+
declare export { SizeWithUnitAndAspect } from "scandit-datacapture-frameworks-core";
|
|
21
|
+
declare export { MarginsWithUnit } from "scandit-datacapture-frameworks-core";
|
|
22
|
+
declare export { Color } from "scandit-datacapture-frameworks-core";
|
|
23
|
+
declare export { Brush } from "scandit-datacapture-frameworks-core";
|
|
24
|
+
declare export { MeasureUnit } from "scandit-datacapture-frameworks-core";
|
|
25
|
+
declare export { SizingMode } from "scandit-datacapture-frameworks-core";
|
|
26
|
+
declare export { Anchor } from "scandit-datacapture-frameworks-core";
|
|
27
|
+
declare export { Orientation } from "scandit-datacapture-frameworks-core";
|
|
28
|
+
declare export { Direction } from "scandit-datacapture-frameworks-core";
|
|
29
|
+
declare export { ScanIntention } from "scandit-datacapture-frameworks-core";
|
|
30
|
+
declare export { ClusteringMode } from "scandit-datacapture-frameworks-core";
|
|
31
|
+
declare export { Control } from "scandit-datacapture-frameworks-core";
|
|
32
|
+
declare export { ZoomSwitchControl } from "scandit-datacapture-frameworks-core";
|
|
33
|
+
declare export { TorchSwitchControl } from "scandit-datacapture-frameworks-core";
|
|
34
|
+
declare export { FrameSourceState } from "scandit-datacapture-frameworks-core";
|
|
35
|
+
declare export { FrameSourceListener } from "scandit-datacapture-frameworks-core";
|
|
36
|
+
declare export { TorchListener } from "scandit-datacapture-frameworks-core";
|
|
37
|
+
declare export { MacroModeListener } from "scandit-datacapture-frameworks-core";
|
|
38
|
+
declare export { FrameSource } from "scandit-datacapture-frameworks-core";
|
|
39
|
+
declare export { FrameDataSettings } from "scandit-datacapture-frameworks-core";
|
|
40
|
+
declare export { FrameDataSettingsBuilder } from "scandit-datacapture-frameworks-core";
|
|
41
|
+
declare export { DataCaptureContextListener } from "scandit-datacapture-frameworks-core";
|
|
42
|
+
declare export { ContextStatus } from "scandit-datacapture-frameworks-core";
|
|
43
|
+
declare export { Camera } from "scandit-datacapture-frameworks-core";
|
|
44
|
+
declare export { TorchState } from "scandit-datacapture-frameworks-core";
|
|
45
|
+
declare export { CameraPosition } from "scandit-datacapture-frameworks-core";
|
|
46
|
+
declare export { VideoResolution } from "scandit-datacapture-frameworks-core";
|
|
47
|
+
declare export { FocusRange } from "scandit-datacapture-frameworks-core";
|
|
48
|
+
declare export { FocusGesture } from "scandit-datacapture-frameworks-core";
|
|
49
|
+
declare export { FocusGestureStrategy } from "scandit-datacapture-frameworks-core";
|
|
50
|
+
declare export { FocusGestureListener } from "scandit-datacapture-frameworks-core";
|
|
51
|
+
declare export { ZoomGesture } from "scandit-datacapture-frameworks-core";
|
|
52
|
+
declare export { ZoomGestureListener } from "scandit-datacapture-frameworks-core";
|
|
53
|
+
declare export { SwipeToZoom } from "scandit-datacapture-frameworks-core";
|
|
54
|
+
declare export { CameraSettings } from "scandit-datacapture-frameworks-core";
|
|
55
|
+
declare export { MacroMode } from "scandit-datacapture-frameworks-core";
|
|
56
|
+
declare export { FrameData } from "scandit-datacapture-frameworks-core";
|
|
57
|
+
declare export { ImageBuffer } from "scandit-datacapture-frameworks-core";
|
|
58
|
+
declare export { ImageFrameSource } from "scandit-datacapture-frameworks-core";
|
|
59
|
+
declare export { TapToFocus } from "scandit-datacapture-frameworks-core";
|
|
60
|
+
declare export { DataCaptureMode } from "scandit-datacapture-frameworks-core";
|
|
61
|
+
declare export { DataCaptureComponent } from "scandit-datacapture-frameworks-core";
|
|
62
|
+
declare export { DataCaptureContextCreationOptions } from "scandit-datacapture-frameworks-core";
|
|
63
|
+
declare export { DataCaptureContextSettings } from "scandit-datacapture-frameworks-core";
|
|
64
|
+
declare export { DataCaptureContext } from "scandit-datacapture-frameworks-core";
|
|
65
|
+
declare export { DataCaptureOverlay } from "scandit-datacapture-frameworks-core";
|
|
66
|
+
declare export { LogoStyle } from "scandit-datacapture-frameworks-core";
|
|
75
67
|
declare export * from "./DataCaptureVersion";
|
|
76
68
|
declare export * from "./DataCaptureView";
|
|
77
|
-
declare export {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
} from "scandit-datacapture-frameworks-core";
|
|
83
|
-
declare export {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
} from "scandit-datacapture-frameworks-core";
|
|
89
|
-
declare export {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
} from "scandit-datacapture-frameworks-core";
|
|
96
|
-
declare export {
|
|
97
|
-
RectangularViewfinderStyle,
|
|
98
|
-
RectangularViewfinderLineStyle,
|
|
99
|
-
RectangularViewfinderAnimation,
|
|
100
|
-
} from "scandit-datacapture-frameworks-core";
|
|
101
|
-
declare export {
|
|
102
|
-
LicenseInfo,
|
|
103
|
-
Expiration,
|
|
104
|
-
OpenSourceSoftwareLicenseInfo,
|
|
105
|
-
} from "scandit-datacapture-frameworks-core";
|
|
69
|
+
declare export { Vibration } from "scandit-datacapture-frameworks-core";
|
|
70
|
+
declare export { WaveFormVibration } from "scandit-datacapture-frameworks-core";
|
|
71
|
+
declare export { Sound } from "scandit-datacapture-frameworks-core";
|
|
72
|
+
declare export { Feedback } from "scandit-datacapture-frameworks-core";
|
|
73
|
+
declare export { LocationSelection } from "scandit-datacapture-frameworks-core";
|
|
74
|
+
declare export { NoneLocationSelection } from "scandit-datacapture-frameworks-core";
|
|
75
|
+
declare export { RadiusLocationSelection } from "scandit-datacapture-frameworks-core";
|
|
76
|
+
declare export { RectangularLocationSelection } from "scandit-datacapture-frameworks-core";
|
|
77
|
+
declare export { Viewfinder } from "scandit-datacapture-frameworks-core";
|
|
78
|
+
declare export { NoViewfinder } from "scandit-datacapture-frameworks-core";
|
|
79
|
+
declare export { RectangularViewfinder } from "scandit-datacapture-frameworks-core";
|
|
80
|
+
declare export { AimerViewfinder } from "scandit-datacapture-frameworks-core";
|
|
81
|
+
declare export { LaserlineViewfinder } from "scandit-datacapture-frameworks-core";
|
|
82
|
+
declare export { RectangularViewfinderStyle } from "scandit-datacapture-frameworks-core";
|
|
83
|
+
declare export { RectangularViewfinderLineStyle } from "scandit-datacapture-frameworks-core";
|
|
84
|
+
declare export { RectangularViewfinderAnimation } from "scandit-datacapture-frameworks-core";
|
|
85
|
+
declare export { LicenseInfo } from "scandit-datacapture-frameworks-core";
|
|
86
|
+
declare export { Expiration } from "scandit-datacapture-frameworks-core";
|
|
87
|
+
declare export { OpenSourceSoftwareLicenseInfo } from "scandit-datacapture-frameworks-core";
|
|
106
88
|
declare export { FontFamily } from "scandit-datacapture-frameworks-core";
|
|
107
89
|
declare export { TextAlignment } from "scandit-datacapture-frameworks-core";
|
|
108
|
-
declare export {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
ScanditIconBuilder,
|
|
113
|
-
} from "scandit-datacapture-frameworks-core";
|
|
90
|
+
declare export { ScanditIcon } from "scandit-datacapture-frameworks-core";
|
|
91
|
+
declare export { ScanditIconShape } from "scandit-datacapture-frameworks-core";
|
|
92
|
+
declare export { ScanditIconType } from "scandit-datacapture-frameworks-core";
|
|
93
|
+
declare export { ScanditIconBuilder } from "scandit-datacapture-frameworks-core";
|
|
114
94
|
declare export * from "./native/RNNativeCaller";
|
|
115
95
|
declare export * from "./native/ScanditNativeModule";
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../ts/native/RNNativeCaller.ts","../../ts/native/CoreNativeCallerProvider.ts","../../ts/native/initProxy.ts","../../ts/native/ScanditNativeModule.ts","../../ts/private/Defaults.ts","../../ts/DataCaptureVersion.ts","../../ts/DataCaptureView.tsx","../../ts/index.ts"],"sourcesContent":[null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../ts/native/RNNativeCaller.ts","../../ts/native/CoreNativeCallerProvider.ts","../../ts/native/initProxy.ts","../../ts/native/ScanditNativeModule.ts","../../ts/private/Defaults.ts","../../ts/DataCaptureVersion.ts","../../ts/DataCaptureView.tsx","../../ts/index.ts"],"sourcesContent":[null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;MAYa,cAAc,CAAA;AAIH,IAAA,YAAA,CAAA;IAFZ,mBAAmB,GAA8B,IAAI,CAAC;AAE9D,IAAA,WAAA,CAAoB,YAAiC,EAAA;QAAjC,IAAY,CAAA,YAAA,GAAZ,YAAY,CAAqB;KAAI;AAEzD;;;;;AAKG;AACH,IAAA,IAAY,kBAAkB,GAAA;AAC1B,QAAA,IAAI,CAAC,IAAI,CAAC,mBAAmB,EAAE;YAC3B,IAAI,CAAC,mBAAmB,GAAG,IAAI,kBAAkB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;SACxE;QACD,OAAO,IAAI,CAAC,mBAAmB,CAAC;KACnC;AAED,IAAA,IAAI,SAAS,GAAA;AACT,QAAA,OAAO,cAAc,CAAC;KACzB;AAED,IAAA,IAAI,gBAAgB,GAAA;AAChB,QAAA,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,QAAQ,CAAC,SAAS,CAAC,kBAAkB,CAAC;AACtE,QAAA,OAAO,GAAG,KAAK,CAAA,CAAA,EAAI,KAAK,CAAI,CAAA,EAAA,KAAK,EAAE,CAAC;KACvC;AAED,IAAA,MAAM,CAAC,MAAc,EAAE,IAA+B,EAAE,KAAyC,EAAA;;QAE7F,MA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