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

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.
@@ -102,7 +102,7 @@ public class HoneywellScannerModule extends ReactContextBaseJavaModule implement
102
102
  reader.setProperty(BarcodeReader.PROPERTY_DATAMATRIX_ENABLED, true);
103
103
  reader.setProperty(BarcodeReader.DATA_PROCESSOR_SYMBOLOGY_ID_AIM, true);
104
104
  promise.resolve(true);
105
- } catch (ScannerUnavailableException | UnsupportedPropertyException e) {
105
+ } catch (ScannerUnavailableException | UnsupportedPropertyException | ScannerNotClaimedException e) {
106
106
  promise.resolve(false);
107
107
  e.printStackTrace();
108
108
  }
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.18",
4
+ "version": "1.4.19",
5
5
  "description": "Bridge to use the Honeywell scanner",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",