@capgo/capacitor-nfc 7.0.6 → 7.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,7 @@ import org.json.JSONException;
|
|
|
36
36
|
public class CapacitorNfcPlugin extends Plugin {
|
|
37
37
|
|
|
38
38
|
private static final String TAG = "CapacitorNfcPlugin";
|
|
39
|
-
private static final String
|
|
39
|
+
private static final String pluginVersion = "7.0.5";
|
|
40
40
|
private static final int DEFAULT_READER_FLAGS =
|
|
41
41
|
NfcAdapter.FLAG_READER_NFC_A |
|
|
42
42
|
NfcAdapter.FLAG_READER_NFC_B |
|
|
@@ -274,7 +274,7 @@ public class CapacitorNfcPlugin extends Plugin {
|
|
|
274
274
|
@PluginMethod
|
|
275
275
|
public void getPluginVersion(PluginCall call) {
|
|
276
276
|
JSObject result = new JSObject();
|
|
277
|
-
result.put("version",
|
|
277
|
+
result.put("version", pluginVersion);
|
|
278
278
|
call.resolve(result);
|
|
279
279
|
}
|
|
280
280
|
|
|
@@ -4,7 +4,7 @@ import UIKit
|
|
|
4
4
|
|
|
5
5
|
@objc(NfcPlugin)
|
|
6
6
|
public class NfcPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
7
|
-
private let
|
|
7
|
+
private let pluginVersion: String = "7.0.8"
|
|
8
8
|
|
|
9
9
|
public let identifier = "NfcPlugin"
|
|
10
10
|
public let jsName = "CapacitorNfc"
|
|
@@ -124,7 +124,7 @@ public class NfcPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
124
124
|
|
|
125
125
|
@objc public func getPluginVersion(_ call: CAPPluginCall) {
|
|
126
126
|
call.resolve([
|
|
127
|
-
"version":
|
|
127
|
+
"version": pluginVersion
|
|
128
128
|
])
|
|
129
129
|
}
|
|
130
130
|
|
package/package.json
CHANGED