- From: Zoltan Kis via GitHub <sysbot+gh@w3.org>
- Date: Tue, 28 Apr 2015 08:14:13 +0000
- To: public-web-nfc@w3.org
zolkis has just created a new issue for
https://github.com/w3c/web-nfc:
== service workers, protocol handlers ==
Are service workers supported, or only visible web pages can handle
NFC?
Web NFC implementations could have policies like:
- if there is an open visible page that handles NFC (i.e. has
requested an adapter), let it handle it
- otherwise, if there is a single service worker running, let it
handle it
- otherwise, if there are multiple service workers, ... <invent a
policy>.
Certainly, at any point of time there should be max one page that can
handle NFC (reads and writes alike).
Should we use protocol handlers? like:
```navigator.registerProtocolHandler('web+nfc',
'http://myorigin.com?q=blabla', 'MyApp');```
See https://github.com/w3c/web-nfc/issues/17
Received on Tuesday, 28 April 2015 08:14:14 UTC