Contact emails
fbea...@chromium.org, rei...@chromium.org, rijubrat...@intel.com, kenneth.r.c...@intel.com, zolta...@intel.com, leon...@intel.com
Explainer
https://github.com/w3c/web-nfc/blob/gh-pages/EXPLAINER.md
Spec
TAG Review (Requested)
https://github.com/w3ctag/design-reviews/issues/461
Summary
Web NFC aims to provide sites the ability to read and write to NFC tags when they are brought in close proximity to the user’s device (usually 5-10 cm, 2-4 inches). The current scope is limited to NDEF, a lightweight binary message format. Low-level I/O operations (e.g. ISO-DEP, NFC-A/B, NFC-F) and Host-based Card Emulation (HCE) are not supported within the current scope.
Web NFC is only available to top-level, secure browsing contexts, and origins must first request the “nfc” permission while handling a user gesture. To then perform a read or write, the web page must be visible when the user touches an NFC tag with their device. The browser uses haptic feedback to indicate a tap. Access to the NFC radio is blocked if the display is off or the device is locked. For backgrounded web pages, receiving and pushing NFC content are suspended.
The combination of a user-initiated permission prompt and real-world, physical movement of bringing the device over a target NFC tag mirrors the chooser pattern found in the other file and device-access APIs.
The functionality currently available behind a flag at chrome://flags/#enable-webnfc and this experiment represents a minimum-viable-product for this API. Issues are filed in the Blink>NFC component for remaining work.
Link to feature tracking bug
https://bugs.chromium.org/p/chromium/issues/detail?id=520391
Link to Chrome launch approval bug (sorry, Googlers only)
https://bugs.chromium.org/p/chromium/issues/detail?id=1035048
Link to “Intent to Prototype” blink-dev discussion
https://groups.google.com/a/chromium.org/d/topic/blink-dev/dIbUdDU9a6E/discussion
Goals for experimentation
We have already received some feedback on the API surface and implementation from web developers who have tried it behind a flag. The goal for this Origin Trial is to get feedback on the shape of the API, the new permission prompt flow, and whether the current scope of the specification is sufficient for their use cases.
We expect to react to developer feedback and work on completing the implementation during the experiment period.
A partner has expressed strong interest in participating in the Origin Trial.
Experimental timeline
The experiment begins with the release of Chrome 81 to beta-channel and ends when Chrome 84 is shipped to stable-channel (replacing Chrome 83 which will be the last version with the experiment enabled).
Any risks when the experiment finishes?
None. Sites should be aware that this is experimental functionality that is not guaranteed to be available after the experiment ends.
Ongoing technical constraints
None.
Will this feature be supported on all five Blink platforms supported by Origin Trials (Windows, Mac, Linux, Chrome OS, and Android)?
No. Support will be for Android only initially (excludes WebView).
Link to entry on the feature dashboard
https://www.chromestatus.com/features/6261030015467520
Links to demos
https://web-nfc-demo.glitch.me/ featured in https://twitter.com/ChromiumDev/status/1206890116964323328
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAPpwU5L5RTSdebK%3DiOVBwJzs-o6YRcuCNoHGzWphc1RMneqKFA%40mail.gmail.com.
I'd like to know if there is any chance to get a Token for webNFCWe know that the Projekt has already ended, but we'd still like to run a few tests.Or is there any planing on supporting WebNFC otherwise?
Alright but with enabled "experimental-web-platform-features" on I can't find an Reader on my own website.Im useing an Andriod phone and google Chrome. I enabled the flag and made a function :if ('NDEFReader' in window) {/* Scan NFC tags */alert("NDEFReader Found");} else {alert("No NDEFReader Found");}I always get "No NDEFReader Found"What do I do wrong?I thought it'd be about the Token, but I'm getting the feeling that it should work like that.
So there is no way to make WebNFC work at all?
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAPpwU5%2Beqhkfy8n0-Ri5YtcqnTXnO_E0GhtCAYgLCo9cts3PTA%40mail.gmail.com.