- From: Donna Wu via GitHub <sysbot+gh@w3.org>
- Date: Mon, 30 Mar 2020 08:38:49 +0000
- To: public-web-nfc@w3.org
@beaufortfrancois
We've got a listener to use and it works but with a high level API(Level 24), we are now at min-level 19. Do we need to sacrifice the compliance? I prefer not.
@OlivierGrenoble
It seems the site https://www.myst25.com/ST25NFCWebApp/ has some issue can't trigger right NFC request, so the system launcher will still show. I use the following code piece.
```
const writer = new NDEFWriter();
writer.write({
records: [{ recordType: "url", data: "https://w3c.github.io/web-nfc/" }]
}).then(() => {
console.log("Message written.");
}).catch(_ => {
console.log("Write failed :-( try again.");
});
```
--
GitHub Notification of comment by DonnaWuDongxia
Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/551#issuecomment-605862512 using your GitHub account
Received on Monday, 30 March 2020 08:38:52 UTC