On Mon, Jan 5, 2015 at 5:52 AM, Andrea Marchesini
<[email protected]> wrote:
> I just landed RequestSync API, an API for b2g only that allows apps to
> schedule tasks.

I have been working on the email bug to switch to the navigator.sync
API from using mozAlarms (bug 1098289). In the process, I made two
smaller apps to try out the APIs, these may be helpful in exploring
the use of the API in an app. Note that the APIs only work completely
in a certified app:

Sample app that registers some sync tasks:
https://github.com/jrburke/requestsync

Not very pretty basic manager app that can list all sync tasks on
device, and allow setting on override for the minInterval for that
task:
https://github.com/jrburke/requestsyncmanager

For the manager app, it will be best to get a nightly that has bug
1131963 for the minInterval override, and I will be adding a button to
"trigger this sync task now" as bug 1130663 travels to nightly b2g.

James
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to