@scrumble-nl/react-native-honeywell-scanner 1.4.16 → 1.4.18

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.
@@ -92,6 +92,7 @@ public class HoneywellScannerModule extends ReactContextBaseJavaModule implement
92
92
  reader.addBarcodeListener(HoneywellScannerModule.this);
93
93
  try {
94
94
  reader.claim();
95
+ reader.decode(false);
95
96
  reader.setProperty(BarcodeReader.PROPERTY_EAN_8_ENABLED, true);
96
97
  reader.setProperty(BarcodeReader.PROPERTY_EAN_8_CHECK_DIGIT_TRANSMIT_ENABLED, true);
97
98
  reader.setProperty(BarcodeReader.PROPERTY_EAN_13_ENABLED, true);
@@ -99,7 +100,6 @@ public class HoneywellScannerModule extends ReactContextBaseJavaModule implement
99
100
  reader.setProperty(BarcodeReader.PROPERTY_EAN_13_TWO_CHAR_ADDENDA_ENABLED, true);
100
101
  reader.setProperty(BarcodeReader.PROPERTY_EAN_13_FIVE_CHAR_ADDENDA_ENABLED, true);
101
102
  reader.setProperty(BarcodeReader.PROPERTY_DATAMATRIX_ENABLED, true);
102
- reader.setProperty(BarcodeReader.PROPERTY_GS1_128_ENABLED, true);
103
103
  reader.setProperty(BarcodeReader.DATA_PROCESSOR_SYMBOLOGY_ID_AIM, true);
104
104
  promise.resolve(true);
105
105
  } catch (ScannerUnavailableException | UnsupportedPropertyException e) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@scrumble-nl/react-native-honeywell-scanner",
3
3
  "title": "React Native Honeywell Scanner",
4
- "version": "1.4.16",
4
+ "version": "1.4.18",
5
5
  "description": "Bridge to use the Honeywell scanner",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",