Closed sc-rf closed 2 years ago
Can you show how you are initializing NDEFReader()
? Also to be clear we aren't talking about AbortController()
, right?
@sc-rf Does https://web.dev/nfc/#abort-nfc-operations help?
This is doable with AbortController
I am working on intercepting the nfc data in a Reactjs (typescript) App, but when i change the route the Scanner still intercepting the NFC tag (and i want it to cancel the Listener when i change the page)