jeudi 29 septembre 2016

How to get notification from service worker

I want to create browser notification. But I want to follow following way:

  1. I want to create service worker for browser.
  2. Service worker will request after every 60 minutes to my web api located at my server.
  3. By using server response service worker will create notification.
  4. Then notification will work on client.

Is it feasible solution or not please suggest.




Aucun commentaire:

Enregistrer un commentaire