- From: Alexey Rodionov via GitHub <sysbot+gh@w3.org>
- Date: Tue, 05 Nov 2019 10:31:27 +0000
- To: public-web-nfc@w3.org
FluorescentHallucinogen has just created a new issue for https://github.com/w3c/web-nfc: == What is the correct way to check whether the browser supports Web NFC API or not? == What is the correct way to check whether the browser supports Web NFC API or not? In the previous version of API, I've used the following: ```js if ('nfc' in navigator) { // use Web NFC API } ``` Is ```js if ('NDEFReader' in window && 'NDEFWriter' in window) { // use Web NFC API } ``` the correct way? It would also really nice to have a property (or something) to check whether the device has NFC chip or not. Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/434 using your GitHub account
Received on Tuesday, 5 November 2019 10:31:29 UTC