@scrumble-nl/react-native-honeywell-scanner 1.0.75 → 1.0.76

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.
@@ -109,7 +109,7 @@ public class HoneywellScannerModule extends ReactContextBaseJavaModule implement
109
109
 
110
110
  final String message = "Scanner: " + event.getBarcodeReaderInfo().getName() + " is " + connected;
111
111
 
112
- ((ReactApplicationContext) reactContext).runOnUiThread(new Runnable() {
112
+ UiThreadUtil.runOnUiThread(new Runnable() {
113
113
  @Override
114
114
  public void run() {
115
115
  Toast.makeText(reactContext, message, Toast.LENGTH_LONG).show();
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.75",
4
+ "version": "1.0.76",
5
5
  "description": "Bridge to use the Honeywell scanner",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",