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

There are different use-cases.

Sometimes I might want to push data and I will have special UI for that. (Creating a scanner with the side-effect of pushing seems a bit counter intuitive.)

In some cases, I might want to either cancel the push or modify what I push given what is already on the tag.

For instance, I could do a color combiner. Where I add a color. Say I add yellow, but as the card already has the value blue stored, I instead write green (combination of yellow and blue).

Those are very different use-cases than writing from a scan, which I actually don't really see a strong use-case for, though it could be used for auto initializing tags.

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

Received on Tuesday, 5 November 2019 12:50:16 UTC