Closed Bug 1276153 Opened 8 years ago Closed 7 years ago

replace alarm API in clock app

Categories

(Firefox OS Graveyard :: Gaia::Clock, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jovan.gerodetti, Unassigned, NeedInfo)

References

Details

By now we don't have any service worker API to wake them up locally. So my suggestion would be to implement alarms with a setTimeout for basic usage.

To provide a better UX I'd then create an add-on which would support an alarm API[1], like Ben suggested it once. In the clock api we could check if the add-on is available and if that's the case we register the alarm in the add-on.

How ready are add-ons in Pine? can we use them? What do you think about this Alberto?


[1] https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/alarms
Flags: needinfo?(apastor)
Blocks: 1274928
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.