capacitor-rfid-plugin-ox 0.0.8 → 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(
|
|
13
|
+
Log.i("usdk1", "main activity onCreate...");
|
|
15
14
|
super.onCreate(savedInstanceState);
|
|
16
15
|
}
|
|
17
16
|
|
|
@@ -36,11 +36,12 @@ public class RFIDPlugin extends Plugin {
|
|
|
36
36
|
|
|
37
37
|
@Override
|
|
38
38
|
public void load() {
|
|
39
|
+
Log.d("usdk1", "plugin load");
|
|
39
40
|
RFIDPlugin RFIDPlugin = this;
|
|
40
41
|
getBridge().getActivity().runOnUiThread(new Runnable() {
|
|
41
42
|
@Override
|
|
42
43
|
public void run() {
|
|
43
|
-
RFIDPlugin.initRfid();
|
|
44
|
+
// RFIDPlugin.initRfid();
|
|
44
45
|
}
|
|
45
46
|
});
|
|
46
47
|
}
|