scandit-capacitor-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.
@@ -16,5 +16,5 @@ Pod::Spec.new do |s|
16
16
  s.swift_version = "5.7"
17
17
 
18
18
  s.dependency "Capacitor"
19
- s.dependency "scandit-datacapture-frameworks-core", '= 8.7.0'
19
+ s.dependency "scandit-datacapture-frameworks-core", '= 8.7.1'
20
20
  end
@@ -141,7 +141,7 @@ if (ext.has('repos')) {
141
141
  }
142
142
 
143
143
  dependencies {
144
- def sdk_version = "8.7.0"
144
+ def sdk_version = "8.7.1"
145
145
 
146
146
  implementation fileTree(dir: 'libs', include: ['*.jar'])
147
147
 
@@ -272,6 +272,11 @@ public class ScanditCaptureCoreNative extends Plugin implements Emitter {
272
272
  return this.hasListenersForEvent(eventName);
273
273
  }
274
274
 
275
+ @Override
276
+ public boolean hasRegisteredViewListenersForEvent(int viewId, @NonNull String eventName) {
277
+ return false;
278
+ }
279
+
275
280
  /**
276
281
  * Single entry point for all Core operations. Routes method calls to the appropriate command via
277
282
  * the shared command factory.
@@ -5809,7 +5809,7 @@ declare class DataCaptureContextSettings extends DefaultSerializeable {
5809
5809
  *
5810
5810
  * 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.
5811
5811
  *
5812
- * 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}.
5812
+ * 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}.
5813
5813
  *
5814
5814
  * 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.
5815
5815
  *
@@ -5828,10 +5828,8 @@ declare class DataCaptureContextSettings extends DefaultSerializeable {
5828
5828
  * ```javascript
5829
5829
  * const settings = new Scandit.BarcodeCaptureSettings();
5830
5830
  * settings.setSymbologyEnabled(Scandit.Symbology.QR, true);
5831
- * const barcodeCapture = Scandit.BarcodeCapture.forContext(
5832
- * window.captureContext,
5833
- * settings,
5834
- * );
5831
+ * const barcodeCapture = new Scandit.BarcodeCapture(settings);
5832
+ * window.captureContext.setMode(barcodeCapture);
5835
5833
  * // Capture modes are enabled by default. The next line is not strictly necessary and
5836
5834
  * // is only listed to make you aware of the possibility to enable/disable modes.
5837
5835
  * barcodeCapture.isEnabled = true;
package/dist/index.js CHANGED
@@ -297,7 +297,7 @@ __decorate([
297
297
 
298
298
  class DataCaptureVersion {
299
299
  static get pluginVersion() {
300
- return '8.7.0';
300
+ return '8.7.1';
301
301
  }
302
302
  /**
303
303
  * Version of the native SDK the plugin is running against. Read from the Core defaults
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scandit-capacitor-datacapture-core",
3
- "version": "8.7.0",
3
+ "version": "8.7.1",
4
4
  "description": "Scandit Data Capture SDK for Capacitor",
5
5
  "license": "Apache-2.0",
6
6
  "private": false,