There is also another important issue here:
The tasks can be configured by the settings app, using the
RequestSyncManager API.
This means that if an app wants to do something every 20 minutes, the user
can change this minInterval,
or he/she can change if the task has to run only when the device
Hi all,
I just landed RequestSync API, an API for b2g only that allows apps to
schedule tasks.
Here the webIDL:
https://hg.mozilla.org/integration/mozilla-inbound/file/f60d4ad64070/dom/webidl/RequestSyncScheduler.webidl
A simple example is this:
navigator.sync.register('foobar', {