scandit-react-native-datacapture-core 6.22.0 → 6.23.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/android/build.gradle +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/scandit-react-native-datacapture-core.podspec +1 -1
- package/android/src/main/kotlin/com/scandit/datacapture/reactnative/core/utils/EventWithResult.kt +0 -63
- package/android/src/main/kotlin/com/scandit/datacapture/reactnative/core/utils/LazyEventEmitter.kt +0 -19
- /package/android/src/main/kotlin/com/scandit/datacapture/reactnative/core/ui/{ScanditViewManager.kt → ScanditViewGroupManager.kt} +0 -0
package/android/build.gradle
CHANGED
|
@@ -60,7 +60,7 @@ android {
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
dependencies {
|
|
63
|
-
def sdk_version = "6.
|
|
63
|
+
def sdk_version = "6.23.0-beta.1"
|
|
64
64
|
|
|
65
65
|
println("Version of the native sdk used in this build: ${safeExtGet('global_sdk_version', sdk_version)}")
|
|
66
66
|
if (findProject(':scandit-datacapture-frameworks-core') != null) {
|
package/dist/index.js
CHANGED
|
@@ -16,7 +16,7 @@ const RNEventEmitter$3 = new NativeEventEmitter(NativeModule$5);
|
|
|
16
16
|
// tslint:enable:variable-name
|
|
17
17
|
var FrameSourceListenerName$1;
|
|
18
18
|
(function (FrameSourceListenerName) {
|
|
19
|
-
FrameSourceListenerName["didChangeState"] = "FrameSourceListener.
|
|
19
|
+
FrameSourceListenerName["didChangeState"] = "FrameSourceListener.onStateChanged";
|
|
20
20
|
})(FrameSourceListenerName$1 || (FrameSourceListenerName$1 = {}));
|
|
21
21
|
class NativeImageFrameSourceProxy {
|
|
22
22
|
eventEmitter;
|
|
@@ -242,7 +242,7 @@ function initCoreDefaults() {
|
|
|
242
242
|
const NativeModule = NativeModules.ScanditDataCaptureCore;
|
|
243
243
|
class DataCaptureVersion {
|
|
244
244
|
static get pluginVersion() {
|
|
245
|
-
return '6.
|
|
245
|
+
return '6.23.0-beta.1';
|
|
246
246
|
}
|
|
247
247
|
static get sdkVersion() {
|
|
248
248
|
return NativeModule.Version;
|
|
@@ -3054,7 +3054,7 @@ class DataCaptureView extends React.Component {
|
|
|
3054
3054
|
view;
|
|
3055
3055
|
constructor(props) {
|
|
3056
3056
|
super(props);
|
|
3057
|
-
this.view = BaseDataCaptureView.forContext(
|
|
3057
|
+
this.view = BaseDataCaptureView.forContext(props.context);
|
|
3058
3058
|
this.view.viewComponent = this;
|
|
3059
3059
|
}
|
|
3060
3060
|
get scanAreaMargins() {
|