@capgo/capacitor-nfc 7.0.5 → 7.0.7

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 PLUGIN_VERSION = "0.0.1";
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", PLUGIN_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 pluginVersion = "0.0.1"
7
+ private let pluginVersion: String = "7.0.7"
8
8
 
9
9
  public let identifier = "NfcPlugin"
10
10
  public let jsName = "CapacitorNfc"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-nfc",
3
- "version": "7.0.5",
3
+ "version": "7.0.7",
4
4
  "description": "Native NFC tag discovery, reading and writing for Capacitor apps on iOS and Android.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",