capacitor-rfid-plugin-ox 0.0.7 → 0.0.8

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.
@@ -36,7 +36,13 @@ public class RFIDPlugin extends Plugin {
36
36
 
37
37
  @Override
38
38
  public void load() {
39
- this.initRfid();
39
+ RFIDPlugin RFIDPlugin = this;
40
+ getBridge().getActivity().runOnUiThread(new Runnable() {
41
+ @Override
42
+ public void run() {
43
+ RFIDPlugin.initRfid();
44
+ }
45
+ });
40
46
  }
41
47
 
42
48
  @PluginMethod
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-rfid-plugin-ox",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "rfid reader (not ready to use)",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",