- From: François Beaufort via GitHub <sysbot+gh@w3.org>
- Date: Mon, 19 Aug 2019 12:38:43 +0000
- To: public-web-nfc@w3.org
I still think* web developers want to simply interact, by default, with "any" NFC tag. Is NXP Mifare Classic being only readable/writable by phone with a NXP chip the reason why every new web developer will have to use `compatibility: "any"`? The more I think about it, we may want to rename `compatibility` to `technology`. WDYT? ```js /* CURRENT */ // Will read NFC devices supported by the NFC standard. const r = new NFCReader(); // Will read all NDEF compatible devices that the reader chip can read. const r = new NFCReader({ compatibility: 'any' }); /* PROPOSED */ // Will read all NDEF compatible devices that the reader chip can read. const r = new NFCReader(); // Will read NFC devices supported by the NFC standard. const r = new NFCReader({ technology: 'nfc-forum' }); // Will read all vendor specific NFC tags that require specific reader chips. const r = new NFCReader({ technology: 'vendor' }); ``` -- GitHub Notification of comment by beaufortfrancois Please view or discuss this issue at https://github.com/w3c/web-nfc/pull/299#issuecomment-522553613 using your GitHub account
Received on Monday, 19 August 2019 12:38:44 UTC