fabienrousseau / flutter_pcsc

A Flutter plugin for using PCSC smartcard readers on Windows/macOS/Linux.
14 stars 11 forks source link

[Request feature] Please add eventListener #5

Open silkyland opened 1 year ago

silkyland commented 1 year ago

I need event function like :

  1. onDeviceFound
  2. onDeviceRemove
  3. onCardInsert
  4. onCardRemove
  5. etc ...
milkyway044 commented 1 year ago

for 3,4 you can just await Pcsc.waitForCardPresent(context, reader); await Pcsc.waitForCardRemoved(context, reader);