0

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).

Starrux
  • 119
  • 1
  • 2
  • 8
  • As far as i know it's not possible to send Data with NFC on IOS. For Android this could technically work, but there is no library out there supporting this, only reading. – ZeRj May 23 '19 at 19:16
  • For Android: [Emulate Mifare card with Android 4.4](https://stackoverflow.com/q/20055497/2425802) – Michael Roland May 28 '19 at 19:03

1 Answers1

1

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.

Omatt
  • 8,564
  • 2
  • 42
  • 144