- From: Han Leon via GitHub <sysbot+gh@w3.org>
- Date: Mon, 29 Jul 2019 05:38:23 +0000
- To: public-web-nfc@w3.org
leonhsl has just created a new issue for https://github.com/w3c/web-nfc: == android.nfc.NfcAdapter.enableReaderMode() has no failure cases == https://w3c.github.io/web-nfc/#dom-nfcreader-start step 3.2 says > make a request to all NFC adapters to listen to NDEF messages and step 3.3 says > If the request fails, then Let e be the result of creating a "NotSupportedError" DOMException. android.nfc.NfcAdapter.enableReaderMode() [1] does what step 3.2 says, but this function always succeeds in registering a ReaderCallback for receiving notifications from the platform, it has no failure cases, so what does step 3.3 mean for 'If the request fails'? [1] https://developer.android.com/reference/android/nfc/NfcAdapter.html#enableReaderMode(android.app.Activity,%20android.nfc.NfcAdapter.ReaderCallback,%20int,%20android.os.Bundle) Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/242 using your GitHub account
Received on Monday, 29 July 2019 05:38:24 UTC