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 NFC reader module for a web-based app.
Is there any plugin that can we included in the client or server side for this purpose ?
Thanks in advance.
The Web NFC API allows exchanging data over NFC via light-weight NFC Data Exchange Format (NDEF) messages. Note: Devices and tags have to be formatted and recorded specifically to support NDEF record format to be used with Web NFC.
When using PWA on Android, users can experience almost all native app features, including payment, NFC, fingerprint authentication, speech recognition, and more. However, additional APIs are required to make the device's features available on PWA (e.g., NFC API, Bluetooth API, Geolocation API, etc.).
Web NFC enables web pages to read and write to NFC tags when they are in close proximity to a NFC capable Android device using Chrome. Currently only supports NFC Data Exchange Format (NDEF), a lightweight binary message format that works across different tag formats.
The Web NFC API (maintained by the NFC Working Group is currently in draft status. This API is intended to provide access to NFC functionality for HTML5.
The NFC Working Group was closed after its charter expired (mainly due to lack of support by browser vendors) and is no longer maintaining the specification. Instead there is a Web NFC Community Group now that maintains the Web NFC API specification now.
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/
There is an API out there, but there is no browser release supporting this API due to the lack of its development!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With