semlette / nfc_in_flutter

Cross-platform flutter plugin for reading and writing NFC tags. Not maintained anymore - not looking for new maintainer, fork instead.
MIT License
119 stars 119 forks source link

can't read Tag ID in iOS #93

Open MarshmallowB opened 3 years ago

MarshmallowB commented 3 years ago

Hey could you tell me how i can read the Tag ID? It doesnt work with :

NDEFMessage message = await NFC.readNDEF(once: true).first; print("ID: ${message.id}");

Best regards Bob

PiroX4256 commented 3 years ago

So do I, any news? I am using the Mifare Classic 1K

jams032 commented 2 years ago

@MarshmallowB, we can write successfully using this :

.readNDEF(once: false, readerMode: NFCNormalReaderMode(),alertMessage: "Custom message with readNDEF#alertMessage")