Thursday, 27 December 2018

How to trigger desktop notification 24 hours later without backend server?

Assuming:

  1. User has allowed notifications on my website.
  2. Service worker is installed and ready.
  3. User sets a client side reminder to be reminded 24 hours from now.
  4. No backend service or server to push the notification to the user.

How can I trigger a desktop notification if there is no backend server to push that notification? Is this possible?

The service worker will be shutdown by the browser if provided a timeout/interval and the web-alarm/task-scheduler specification is not yet ready for use. Is there no client side only approach to trigger a notification at some designated time in the future?

Is there a desktop notification that is strictly not a "push notification"? A push notification, by nature, is pushed from a server.



from How to trigger desktop notification 24 hours later without backend server?

No comments:

Post a Comment