NOtherDev / whatwebcando

An overview of the device integration HTML5 APIs
https://whatwebcando.today/
MIT License
836 stars 61 forks source link

NFC Write #76

Closed nielsq closed 3 years ago

nielsq commented 3 years ago

There is in issue with writing NFC tags. async function writeTag() { if ("NDEFReader" in window) { const ndef = new NDEFReader(); needs to be async function writeTag() { if ("NDEFReader" in window) { const ndef = new NDEFWriter();

NOtherDev commented 3 years ago

Hi @nielsq. Thanks for your issue. Your suggestion is not correct, though, NDEFWriter was merged into NDEFReader and removed both from the spec as well as from Chromium implementation some time ago.