Re: [web-nfc] Change default compatibility value to `any` (#299)

> Note that since UA captures all NFC tags, regardless of their technology, it feels more accurate to not have it in the scan options.

The use case for having it in the scan options was the app not having to check for every event, only for those types it is interested in. I think it makes sense to keep it in the scan options, but we can also expose the tech on the events.

One of the intents of this spec has been to be able to scan only for "Web NFC" stuff, that is, adapted for web apps to handle safely. So an app may want to be able to say 
- "I am interested in all tags the underlying platform can read"
- "I am interested in all NDEF tags"
- "I am interested only in Web NFC tags"
(further filtering being possible in the scan options).

-- 
GitHub Notification of comment by zolkis
Please view or discuss this issue at https://github.com/w3c/web-nfc/pull/299#issuecomment-523844889 using your GitHub account

Received on Thursday, 22 August 2019 10:25:47 UTC