- From: OlivierGrenoble via GitHub <sysbot+gh@w3.org>
- Date: Mon, 30 Mar 2020 08:54:45 +0000
- To: public-web-nfc@w3.org
> @beaufortfrancois > We've got a listener(android.nfc.NfcAdapter.OnTagRemovedListener) to use and it works but with a high level API(Level 24), we are now at min-level 19. Do we need to sacrifice the compliance? I prefer not. Difficult choice. 58% of the phones are currently using a version >= to API Level 24. > > @OlivierGrenoble > It seems the site https://www.myst25.com/ST25NFCWebApp/ has some issue can't trigger right NFC request, so the system launcher will still show. I use the following code piece. > > ``` > const writer = new NDEFWriter(); > writer.write({ > records: [{ recordType: "url", data: "https://w3c.github.io/web-nfc/" }] > }).then(() => { > console.log("Message written."); > }).catch(_ => { > console.log("Write failed :-( try again."); > }); > ``` What kind of issue do you see with https://www.myst25.com/ST25NFCWebApp/ ? Do you see this issue only with the code that you have updated? -- GitHub Notification of comment by OlivierGrenoble Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/551#issuecomment-605870547 using your GitHub account
Received on Monday, 30 March 2020 08:54:50 UTC