Re: [web-nfc] Notify NFCReaders of failures when trying to get a message from a tag? (#279)

For context, this [came up in review](https://chromium-review.googlesource.com/c/chromium/src/+/1736167/2/services/device/nfc/android/java/src/org/chromium/device/nfc/NfcImpl.java#561). In chromium implementation, I do see a [kNfcEmpytMessage](https://cs.chromium.org/chromium/src/third_party/blink/renderer/modules/nfc/nfc_constants.cc?g=0&l=40) used to throw an exception while pushing empty message to tag. We could use something similar while reading also ?

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

Received on Tuesday, 6 August 2019 11:23:26 UTC