Search code examples
flutternfcmifare

Clone an NFC Mifare Card (ISO 14443-3A) into my Flutter app


I have an NFC card from my city public transport, and I want to integrate in my Flutter app a feature that clones the data from the card and use the app instead of the card.

Here is a link to my open source app (it is still WIP). It is for the students in my faculty and I want to integrate this freature in this application.

I don't know how to get the data from the card in Flutter and send it when the phone is next to a NFC receiver (like those from buses).


Solution

  • By clone, I assume that you'd like to use your mobile device as the NFC card. What you can do here is copy the NFC tag's metadata using flutter_nfc_kit plugin then implement a NFC emulator using nfc_emulator to have your device act as a NFC tag. Note that NFC emulator only supports Android at present.