service workers, protocol handlers · Issue #17 · w3c/web-nfc (original) (raw)

Are service workers supported, or only visible web pages can handle NFC?

Web NFC implementations could have policies like:

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');