scandit-react-native-datacapture-core 6.22.0-beta.2 → 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.
@@ -60,7 +60,7 @@ android {
60
60
  }
61
61
 
62
62
  dependencies {
63
- def sdk_version = "6.22.0-beta.2"
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.didChangeState";
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.22.0-beta.2';
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(this.props.context);
3057
+ this.view = BaseDataCaptureView.forContext(props.context);
3058
3058
  this.view.viewComponent = this;
3059
3059
  }
3060
3060
  get scanAreaMargins() {