Sure you don't need to care about network status, and I'd imagine that's the case whenever wifiOnly is set to false?
It seems like we're adding a second implementation which provides enhanced functionality compared with mozAlarms. That is all well and good, but having to maintain both and answer the inevitable web developer questions about which to use is less than ideal. I am excited about the new sync API, and I see it replacing most mozAlarms in gaia so we can leverage a single solution. Best, Kevin On Mon, Jan 5, 2015 at 3:26 PM, Fabrice Desré <[email protected]> wrote: > On 01/05/2015 03:16 PM, Kevin Grandon wrote: > > So now the other question, is there any advantage of using mozAlarms > > over sync? Should mozAlarm usage be deprecated? > > The semantics are very different. Why should we need to care about > network status to ring an alarm in the morning? > > RequestSync will replace some hackish uses of mozAlarms, but there are > still valid use cases. > > Fabrice > -- > Fabrice Desré > b2g team > Mozilla Corporation >
_______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
