Definitely use RequestSync rather than alarm API! There are battery
saving advantages already, and these advantages will just get better
in the future as we improve the implementation of the API.

/ Jonas



On Tue, Jun 30, 2015 at 10:32 AM,  <[email protected]> wrote:
> Speaking of using the RequestSync API, is that what Mozilla recommends using 
> now? I think most user-created apps are still using alarms for that 
> functionality. But since the email app now uses it (bug 1098289), I'm 
> guessing it's OK for all apps to use. If so, I think the MDN App Development 
> FAQ page[1] and this[2] wiki page are out of date. But I don't know if 
> there's a RequestSync API page that we could link to on them; the only usage 
> example I see right now is on a mailing list thread[3]. Does an MDN page need 
> to be written for the RequestSync API?
>
> [1]: 
> https://developer.mozilla.org/en-US/Apps/Build/App_development_FAQ#How_can_I_run_a_background_service.3F
>
> [2]: https://wiki.mozilla.org/Cloud_Services/FirefoxOS_Sync
>
> [3]: 
> https://groups.google.com/forum/#!searchin/mozilla.dev.b2g/RequestSync/mozilla.dev.b2g/iq8mUkrUFMs/EkqdGoU1zDsJ.
> _______________________________________________
> dev-b2g mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-b2g
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to