feat: iOS continuous scanning
adnathanail opened this issue · 3 comments
Is your feature request related to a problem? Please describe:
When I scan a tag on iOS the NFC reader session closes itself and I have to call startScanning
again
Describe the solution you'd like:
I had a look at the Core NFC docs and there is a function restartPolling
that looks like it might allow me to keep the reader session open until it is manually swipe away by the user?
https://developer.apple.com/documentation/corenfc/nfctagreadersession/3043857-restartpolling
I'm not sure how Ionic plugins fit together so I don't know if this would actually be possible, but any other suggestion would be great!
Thank you for the request!
This should actually even be a bug, since the current android implementation allows reading multiple tags in a row, only iOS does not. I have created a dev build with a fix. If you want, you can test the fix in advance:
npm i @capawesome-team/capacitor-nfc@0.3.0-dev.504c315.1669922408
@robingenz amazing thanks very much!
This will be part of v0.3.1
.