Is it possible to access NFC API in HTML5 applications?

后端 未结 3 902
时光说笑
时光说笑 2020-12-30 01:35

I have a requirement to include NFC Card reader to read associate ID to authenticate the user for a web app displayed in a touch screen.

Is it possible to use SCM NF

3条回答
  •  半阙折子戏
    2020-12-30 02:01

    As an update to the above. The latest Chrome Canary for Android does now support WebNFC. Interestingly, the primary Chrome supports the older protocol of the NFC.watch method which allows for data to be read/written but the new one has changed to NFCReader methods which are promise based which you start and stop. The later allows for reading of the ID. https://w3c.github.io/web-nfc/

提交回复
热议问题