Nothing important
Nothing important

Reputation: 301

Background events in progressive web apps? (building an alarm clock app)

I am playing around with progressive web apps, and one scenario I wanted to try building was an alarm clock app.

I figure to make this app work properly, it will have to run in the background and become active once the internal conditions (current time === alarm time) have been met.

Is this possible? Or do progressive web apps not yet have the freedom to operate in the background/access phone features through API's.

Thanks!

Upvotes: 11

Views: 4718

Answers (1)

mjs
mjs

Reputation: 65373

Setting background timers isn't yet possible. The ScheduledTask API is probably do what you want, but it's still being discussed, implemented and so on.

Upvotes: 8

Related Questions