Re: [web-nfc] How to update a record? (#315)

> Currently that is really really hard

@kenchris Can you share how hard that would be?

I believe web developers would naively assume something like this shoud work.
```js
const reader = new NDEFReader();
await reader.scan();
reader.onreading = async ({ message }) => {
  // TODO: Update message.records[0].data
  const writer = new NDEFWriter();
  await writer.push(message);
};

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

Received on Monday, 4 November 2019 15:52:29 UTC