scandit-react-native-datacapture-core 8.7.0 → 8.7.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.
@@ -99,7 +99,7 @@ if (file( "${rootProject.projectDir}/build-test.gradle").exists()) {
99
99
  }
100
100
 
101
101
  dependencies {
102
- def sdk_version = "8.7.0"
102
+ def sdk_version = "8.7.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) {
@@ -5856,7 +5856,7 @@ declare class DataCaptureContextSettings extends DefaultSerializeable {
5856
5856
  *
5857
5857
  * Capture modes are restricted to the set of data captures modes provided by the Scandit Data Capture SDK. It is not available for implementing custom data capture modes.
5858
5858
  *
5859
- * Capture modes need to be associated with a {@link DataCaptureContext|data capture context} after they have been created using {@link DataCaptureContext.addMode}. Modes can be removed again using {@link DataCaptureContext.removeMode}.
5859
+ * Capture modes need to be associated with a {@link DataCaptureContext|data capture context} after they have been created using {@link DataCaptureContext.setMode}. Modes can be removed again using {@link DataCaptureContext.removeAllModes}.
5860
5860
  *
5861
5861
  * A data capture context can only be associated with one mode at a time. If multiple modes are associated with the same context, the context will not process any frames and report an error.
5862
5862
  *
@@ -5875,10 +5875,8 @@ declare class DataCaptureContextSettings extends DefaultSerializeable {
5875
5875
  * ```jsx
5876
5876
  * const settings = new BarcodeCaptureSettings();
5877
5877
  * settings.setSymbologyEnabled(Symbology.QR, true);
5878
- * const barcodeCapture = BarcodeCapture.forContext(
5879
- * window.captureContext,
5880
- * settings,
5881
- * );
5878
+ * const barcodeCapture = new BarcodeCapture(settings);
5879
+ * window.captureContext.setMode(barcodeCapture);
5882
5880
  * // Capture modes are enabled by default. The next line is not strictly necessary and
5883
5881
  * // is only listed to make you aware of the possibility to enable/disable modes.
5884
5882
  * barcodeCapture.isEnabled = true;
package/dist/index.js CHANGED
@@ -182,7 +182,7 @@ setCoreDefaultsLoader(initCoreDefaults);
182
182
 
183
183
  class DataCaptureVersion {
184
184
  static get pluginVersion() {
185
- return '8.7.0';
185
+ return '8.7.1';
186
186
  }
187
187
  /**
188
188
  * Version of the native SDK the plugin is running against.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scandit-react-native-datacapture-core",
3
- "version": "8.7.0",
3
+ "version": "8.7.1",
4
4
  "description": "Scandit Data Capture SDK for React Native",
5
5
  "homepage": "https://github.com/Scandit/scandit-react-native-datacapture-core",
6
6
  "main": "dist/index.js",
@@ -83,7 +83,7 @@ Pod::Spec.new do |s|
83
83
  end
84
84
  end
85
85
 
86
- s.dependency "scandit-datacapture-frameworks-core", '= 8.7.0'
86
+ s.dependency "scandit-datacapture-frameworks-core", '= 8.7.1'
87
87
 
88
88
  if respond_to?(:install_modules_dependencies, true)
89
89
  install_modules_dependencies(s)