capacitor-rfid-plugin-ox 0.0.7 → 0.0.9

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.
@@ -7,11 +7,10 @@ import com.getcapacitor.BridgeActivity;
7
7
 
8
8
  public class MainActivity extends BridgeActivity {
9
9
 
10
- public static final String TAG = "MainActivity";
11
10
  @Override
12
11
  public void onCreate(Bundle savedInstanceState) {
13
12
  registerPlugin(RFIDPlugin.class);
14
- Log.i(TAG, "initRfid() onCreate...");
13
+ Log.i("usdk1", "main activity onCreate...");
15
14
  super.onCreate(savedInstanceState);
16
15
  }
17
16
 
@@ -36,7 +36,14 @@ public class RFIDPlugin extends Plugin {
36
36
 
37
37
  @Override
38
38
  public void load() {
39
- this.initRfid();
39
+ Log.d("usdk1", "plugin load");
40
+ RFIDPlugin RFIDPlugin = this;
41
+ getBridge().getActivity().runOnUiThread(new Runnable() {
42
+ @Override
43
+ public void run() {
44
+ // RFIDPlugin.initRfid();
45
+ }
46
+ });
40
47
  }
41
48
 
42
49
  @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.9",
4
4
  "description": "rfid reader (not ready to use)",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",