From 29af909314594629eb59922ca6cc6c84450bf04b Mon Sep 17 00:00:00 2001 From: David Wettstein Date: Mon, 29 Jul 2024 21:19:35 +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);