Skip to content
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

Exposing sensors in service workers #106

Open
4 tasks
tobie opened this issue May 10, 2016 · 3 comments
Open
4 tasks

Exposing sensors in service workers #106

tobie opened this issue May 10, 2016 · 3 comments
Milestone

Comments

@tobie
Copy link
Member

tobie commented May 10, 2016

Sensors must be exposed in services workers.

Actions:

  • List use cases for sensor in a ServiceWorker.
  • Figure out the permissioning story.
  • Figure out a generic way to have sensors operate in the background.
  • Assess whether this should be part of the Generic Sensor API or a completely different spec.
@tobie tobie added this to the Future Work milestone May 10, 2016
@tobie tobie self-assigned this May 10, 2016
@tobie tobie mentioned this issue May 10, 2016
2 tasks
@mkruisselbrink
Copy link

This is also related to #73

@marcoscaceres
Copy link
Member

I don't know if you can expose the sensors in SW unless it's only for 1 shot (or very periodic). You can't spin up a SW and keep the SW alive reading data (AFAIU, that defeats the purpose of a SW unless you are trickling data slowly based on thresholds - like "only when the temperature goes above 37c, notify the SW").

@tobie
Copy link
Member Author

tobie commented Oct 3, 2016

Absolutely. You're looking more at geofencing than geolocation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants