From a210a90a9cc86857ad2bf56cae3a9f3af0ec872f Mon Sep 17 00:00:00 2001 From: David Wettstein Date: Mon, 29 Jul 2024 21:24:28 +0200 Subject: [PATCH] fix: add missing param of method tagToJSON --- .../src/com/chariotsolutions/nfc/plugin/NfcPlugin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/android/src/com/chariotsolutions/nfc/plugin/NfcPlugin.java b/src/android/src/com/chariotsolutions/nfc/plugin/NfcPlugin.java index 01b16056..896e1edb 100644 --- a/src/android/src/com/chariotsolutions/nfc/plugin/NfcPlugin.java +++ b/src/android/src/com/chariotsolutions/nfc/plugin/NfcPlugin.java @@ -342,10 +342,10 @@ private void parseLaunchIntent(final CallbackContext callbackContext) { if (ndef != null) { callbackContext.success(buildNdefJSON(ndef, messages)); } else { - callbackContext.success(Util.tagToJSON(tag)); + callbackContext.success(Util.tagToJSON(tag, messages)); } } else if (action.equals(NfcAdapter.ACTION_TAG_DISCOVERED)) { - callbackContext.success(Util.tagToJSON(tag)); + callbackContext.success(Util.tagToJSON(tag, messages)); } else { if (data != null) { callbackContext.success(data);