Re: [web-nfc] Use cases for emulating passive NDEF tags

My idea for the HCE use case looks a bit different:

1. Go on your ticket page (installable PWA) with your mobile browser (no PC involved at all)
2. Search for the event your want a ticket for
3. Go to checkout
4. Login with your favourite auth method (email, facebook, etc.) which create a user id
5. Buy the ticket
6. After payment transaction has completed the webserver behind the ticket page generates a ticket id and adds this ticket id to the list of tickets for this user id within its own database
8. Later on the user taps a NFC tag or scans a QR code at the entrance of the event to open a event specific webpage. Or the user opens the ticket PWA from its home screen and clicks on a button of the current event which enters the same event specific webpage
9. The event specific webpage tells to user to stay on this page during NFC checkin and the page uses the WebNFC API to implement the HCE used in the following step
10. The user taps on a NFC reader/termnial which reads the user id from the emulated passive tag
11.. The terminal connects to the ticket platform (via internet) and checks if the given user id has a valid ticket id

The basic idea is as long as the current webpage is open and in the foreground the operation system can use the HCE implementation of tthis webpage.

-- 
GitHub Notification of comment by leolux
Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/142#issuecomment-381428459 using your GitHub account

Received on Sunday, 15 April 2018 18:43:55 UTC