Closed erikostling closed 1 year ago
Hi @erikostling great question!
Regarding the ugly type TagEvent
, it's mainly because:
iOS
and Android
handle things differently
So rather than putting efforts to make all fields identical in both OS, I only focused on following ones (if they present):
id
: means the NFC tag's physical identifierndefMessage
: the NDEF contained by scanned NFC tagIt's simply because In my perspective, id
and ndefMessage
are the most important fields for most use cases.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.
why can't I get the ID in the card when I read it from iOS?
how to get a tag id on ios. an empty array is now returned. although everything is fine on Android
I'm getting different results when calling getTag on Android vs iOS. Is there any obvious reason behind this? Issue seems related/identical to #450.
Code:
Android:
iOS:
Expected result:
Debug info: