- From: François Beaufort via GitHub <sysbot+gh@w3.org>
- Date: Mon, 28 Oct 2019 07:41:27 +0000
- To: public-web-nfc@w3.org
I'd like to pursue this as this makes it an interesting use case for sure. ```js const reader = new NDEFReader(); if (reader.discoveryEvent) { // User landed on this page from tapping a NFC tag with a URL record const { serialNumber, message } = reader.discoveryEvent; } ``` Let's bikeshed on the name later. For now, I think we should expose the event (serialNumber + message) that triggered the discovery of the website use lands on. WDYT? -- GitHub Notification of comment by beaufortfrancois Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/78#issuecomment-546827632 using your GitHub account
Received on Monday, 28 October 2019 07:41:29 UTC