@scrumble-nl/react-native-honeywell-scanner 1.4.11 → 1.4.13

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.
@@ -20,7 +20,7 @@ import static com.scrumble.honeywellscannerinterface.HoneywellScannerPackage.Hon
20
20
  public class HoneywellScannerModule extends ReactContextBaseJavaModule implements BarcodeReader.BarcodeListener {
21
21
 
22
22
  // Debugging
23
- private static final boolean D = false;
23
+ private static final boolean D = true;
24
24
 
25
25
  private final ReactApplicationContext reactContext;
26
26
  private AidcManager manager;
@@ -61,6 +61,10 @@ public class HoneywellScannerModule extends ReactContextBaseJavaModule implement
61
61
  WritableMap params = Arguments.createMap();
62
62
  params.putString("data", barcodeReadEvent.getBarcodeData());
63
63
  params.putString("aimId", barcodeReadEvent.getAimId());
64
+ params.putString("charset", barcodeReadEvent.getCharset().toString());
65
+
66
+ if (D) Log.d("barcodeReadEvent", barcodeReadEvent);
67
+
64
68
  sendEvent(BARCODE_READ_SUCCESS, params);
65
69
  }
66
70
 
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.11",
4
+ "version": "1.4.13",
5
5
  "description": "Bridge to use the Honeywell scanner",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",