nfc_in_flutter icon indicating copy to clipboard operation
nfc_in_flutter copied to clipboard

"NFCTypeNameFormatNFCExternal" is being read as a record type 'unknown' in iOS

Open ishwaryamamidi opened this issue 5 years ago • 0 comments

I'm trying to read a list of NdefRecords which are of different TNFs (includes mostly U, external_type, meme_media). When I try to read these records, only the records that are of TNF (typeNameFormat) 'External', is detected as 'Unknown'. I tried to print the recordTNF in the swift code (NfcInFlutterPlugin.m). Here the TNF detected is correct. Similarly, I also tried to print the recordTNF in the dart file (api.dart) and here it says the TNF is 'null'. Very strangely, this happens only for TNF external records.

I'm guessing there is some missing (or probably wrong) implementation in the swift code while trying to pass the external TNF type to the dart code. I tried a lot to investigate on this issue but no success. Has anyone else also faced this issue?

ishwaryamamidi avatar Dec 07 '20 15:12 ishwaryamamidi