react-native-scanbot-barcode-scanner-sdk 3.2.1-beta5 → 3.2.1-beta6

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-scanbot-barcode-scanner-sdk",
3
3
  "title": "Scanbot Barcode Scanner SDK for React Native",
4
- "version": "3.2.1-beta5",
4
+ "version": "3.2.1-beta6",
5
5
  "description": "Scanbot Barcode Scanner SDK React Native Plugin for Android and iOS",
6
6
  "main": "index.js",
7
7
  "files": [
@@ -360,6 +360,12 @@ interface InternalBarcodeDetectionCommonParameters {
360
360
  * Use a filter to determine which type of barcode can be detected; see `BarcodeFilter`
361
361
  */
362
362
  barcodeFilter?: BarcodeFilter;
363
+ /**
364
+ * If `true`, enables the mode which slightly decreases the scanning quality and the energy consumption, thus increasing the scanning speed.
365
+ * The default is `false`.
366
+ * Android only.
367
+ */
368
+ lowPowerMode?: boolean;
363
369
  /**
364
370
  * Optional minimum required text length of the detected barcode.
365
371
  * The default is 0 (setting is turned off).
@@ -385,6 +391,18 @@ interface InternalBarcodeDetectionCommonParameters {
385
391
  * The default is `false`.
386
392
  */
387
393
  stripCheckDigits?: boolean;
394
+ /**
395
+ * When set to `true`, the scanner assumes that the barcode can be a GS1 barcode.
396
+ * Turn it off if you don't want to see decoded FNC1 characters ("]C1" and ASCII char 29).
397
+ * The default value is `true`.
398
+ * NOTE: Currently works for CODE128 barcodes only!
399
+ */
400
+ gs1DecodingEnabled?: boolean;
401
+ /**
402
+ * The checksum algorithm for MSI Plessey barcodes.
403
+ * The default value is [MSIPlesseyChecksumAlgorithm.Mod10].
404
+ */
405
+ msiPlesseyChecksumAlgorithm?: MSIPlesseyChecksumAlgorithm;
388
406
  }
389
407
 
390
408
  export interface DetectBarcodesOnImageArguments