Re: [web-nfc] What is the correct way to check whether the browser supports Web NFC API or not? (#434)

@beaufortfrancois 
> `navigator.permissions.query({ name: 'nfc'})` will resolve with a status of "denied".

Silently? It would be great to let the user know what went wrong and provide the ability to enable NFC in the OS settings (see screenshots in https://github.com/w3c/web-nfc/issues/434#issuecomment-549795888).

P.S. Sorry for offtopic.

-- 
GitHub Notification of comment by FluorescentHallucinogen
Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/434#issuecomment-549805629 using your GitHub account

Received on Tuesday, 5 November 2019 12:38:09 UTC