Web NFC API lets browsers read and write NFC tags without a native app
The Web NFC API enables modern web applications to interact with physical NFC tags directly through the browser, eliminating the need for native iOS or Android apps. The API supports reading NDEF messages, writing text, URLs, and vCard contact data, as well as locking tags to read-only mode. Currently, native support is limited to Chrome for Android version 89 and above, and requires an HTTPS connection along with an NFC-capable Android device. Developers must trigger scanning via a user action and should include feature detection to confirm browser compatibility before use. The API represents a significant step toward hardware interaction on the open web without app store dependencies.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in