@scrumble-nl/react-native-honeywell-scanner 1.0.46 → 1.0.47

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.
@@ -78,17 +78,13 @@ public class HoneywellScannerModule extends ReactContextBaseJavaModule implement
78
78
 
79
79
  @ReactMethod
80
80
  public void startBarcodeDeviceListener() {
81
- AidcManager.addBarcodeDeviceListener(new BarcodeDeviceListener() {
82
- public void onBarcodeDeviceConnectionEvent(BarcodeDeviceConnectionEvent event) {
83
- connectedDevice = event.getBarcodeReaderInfo().getName();
84
- }
85
- });
81
+ AidcManager.addBarcodeDeviceListener(listener -> {});
86
82
  }
87
83
 
88
- @ReactMethod
89
- public void stopBarcodeDeviceListener() {
90
- AidcManager.removeBarcodeDeviceListener();
91
- }
84
+ // @ReactMethod
85
+ // public void stopBarcodeDeviceListener() {
86
+ // AidcManager.removeBarcodeDeviceListener();
87
+ // }
92
88
 
93
89
  @ReactMethod
94
90
  public void startReader(final Promise promise) {
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-v2",
4
- "version": "1.0.46",
4
+ "version": "1.0.47",
5
5
  "description": "Bridge to use the Honeywell scanner",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",