- From: François Beaufort via GitHub <sysbot+gh@w3.org>
- Date: Thu, 22 Aug 2019 08:10:55 +0000
- To: public-web-nfc@w3.org
beaufortfrancois has just created a new issue for https://github.com/w3c/web-nfc: == Attaching "reading" event listener should not be required == I believe attaching an event listener should not have side effects. See https://github.com/w3c/mediasession/issues/148 > In order to receive NFC content, the client needs to attach an event listener for the "reading" event on an NFCReader instance and then activate it by calling NFCReader.scan(). Does that mean `NFCReader.scan()` should not handle NFC content when 'reading' event listener is not attached? If so, we should not use event listeners for this. If not, we should make sure spec clearly say so. Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/304 using your GitHub account
Received on Thursday, 22 August 2019 08:10:57 UTC