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
120 stars 119 forks source link

NFC Tag read / write iOS more than one time #48

Open mavbcn opened 4 years ago

mavbcn commented 4 years ago

Hello,

I want to read and write to the tag in the sam eprocess but I can't do it. I'n trying to do a communication between a NFC tag emulator in arduino and my iPhone app. I need to scan the NFC, get the value of the tag, do some process, and write to the tag , and after the arduino processes the OK result I need to read that resulto too. Is this possible?

please let me know

thanks

jomag commented 3 years ago

Not sure if you're experiencing the same problem I'm having:

I can read/write once, but if it's canceled (I'm guessing timeouts and other errors lead to the same error), then the iOS NFC bottom sheets do not appear on second attempt, unless I wait 2-3 seconds. It fails silently, with no errors. If I wait, I can repeat it indefinitely.