-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should there be two pushMessage methods or not #73
Comments
Yes, IMO this would make things more clear for developers, at the expense of a longer spec. |
@dontcallmedom suggested in the F2F that we drop the separation between tags and peers. Specifically, |
Yes, that is possible as well. After a short check it seems feasible, but we need to dig deeper to find out what functionality/use cases we may lose. We also need input from developers for that (@mrj ?). We can deal with this after figuring out the multiple adapter handling (behind the scenes), and getting rid of explicit adapter objects (#67). |
It is clear that we will lose the ability to tell "push to peers but not to tags", which may be important in some cases, but it's not clear how important. Losing "push to tags but not to peers" may also be important, though at the moment I can't see strong reasons for that. |
What about the use case where you want to push different date depending on it being a peer or a tag, which would be common as peer-to-peer could be for app-to-app communication instead of just storing data |
Because all dev experience with (native) NFC handles peer and tag communication separately, merging them is a bold step. I think we need to experiment with this. IIRC at least @mrj had a use case with peer-only, so I would keep the separation a bit longer, and keep this issue open. |
To summarize, we want to:
One solution is to reintroduce |
The above also means we stay with one |
…3c#84. Handle push related TAG review comments: simplified and aligned push message, optional push options with sensible defaults, improved push and cancelPush steps, option for suspending watches during push(), editorials.
Fixed by #88. We stay with one push() method for now. |
https://github.com/w3ctag/spec-reviews/blob/master/2015/10/nfc-feedback.md
The text was updated successfully, but these errors were encountered: