Re: [web-nfc] A simultaneous tap happened on multiple NFC adapters (#222)

Currently it is not specified how multiple adapters should be handled (there was some quite heated discussion about it a few years back, but a simple approach was taken for the sake of simplicity). 
The API is not concerned with adapters. In most cases there is a single [default] adapter (managed by the implementation). In case of multiple adapters present (in addition, if multiple adapters are close enough to trigger NFC operation), the implementations should follow what the underlying platform is doing in such cases (policy comes from there). Just be transparent to the application/user and don't try to be too smart by adapting/changing policies etc. At least not now :).

> Then we reject push() with "NetworkError"?

If the underlying platform fails the operation, yes, the application needs to prompt the user to tap again, so it needs to be told by the implementation there was an error.


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

Received on Thursday, 23 May 2019 10:44:08 UTC