Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create push notifications #5

Open
3 tasks
TheTeaCat opened this issue Mar 20, 2022 · 3 comments
Open
3 tasks

Create push notifications #5

TheTeaCat opened this issue Mar 20, 2022 · 3 comments
Labels
enhancement New feature or request premium Feature that will be charged for
Milestone

Comments

@TheTeaCat
Copy link
Member

TheTeaCat commented Mar 20, 2022

When:

  • Timer finishes
  • Timer is finishing in 1hr
  • Timer is finishing today, for timers longer than 24hrs

Blocked by #4

This would likely be a "premium" feature as it'd require backend infrastructure.

@TheTeaCat TheTeaCat added this to the v1.0.0 milestone Mar 21, 2022
@TheTeaCat
Copy link
Member Author

This is more complicated than anticipated. Removing from v1.0.0 milestone.

@TheTeaCat TheTeaCat removed this from the v1.0.0 milestone Apr 2, 2022
@TheTeaCat
Copy link
Member Author

TheTeaCat commented Apr 2, 2022

We could use the periodic background sync API for this:

https://web.dev/periodic-background-sync/

However it has about 72% global support right now (it's missing on Firefox and Safari):

https://caniuse.com/?search=Periodic%20Background%20Sync%20API

@TheTeaCat
Copy link
Member Author

TheTeaCat commented Apr 2, 2022

The push API is only marginally better (has firefox support)

https://caniuse.com/?search=push%20api

@TheTeaCat TheTeaCat added this to the v2.0.0 milestone Apr 6, 2022
@TheTeaCat TheTeaCat added enhancement New feature or request premium Feature that will be charged for labels Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request premium Feature that will be charged for
Projects
None yet
Development

No branches or pull requests

1 participant