- From: François Beaufort via GitHub <sysbot+gh@w3.org>
- Date: Wed, 11 Mar 2020 08:16:23 +0000
- To: public-web-nfc@w3.org
I use permissions API to track this changes: ```js navigator.permissions.query({ name: "nfc" }).then(permissionStatus => { console.log(`NFC user permission: ${permissionStatus.state}`); permissionStatus.onchange = _ => { console.log(`NFC user permission changed: ${permissionStatus.state}`); }; }); ``` -- GitHub Notification of comment by beaufortfrancois Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/549#issuecomment-597500182 using your GitHub account
Received on Wednesday, 11 March 2020 08:16:25 UTC