Skip to content

igrep/sample-notification-service-worker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sample-notification-service-worker

Sample of Web Notification from a Service Worker.

Important Notice

Currently, this app does NOT use Service Worker properly.
The spawned service worker gets eventually killed by the browser because the worker runs in an infinite loop.

(Perhaps) easiest way to run this sample

$ git clone https://github.com/igrep/sample-notification-service-worker.git
$ cd sample-notification-service-worker
$ python3 -m http.server
  # or if you are a Python 2 user
$ python -m SimpleHTTPServer

Then open http://localhost:8000/ with a browser able to run Web Notification on a Service Worker.

About

Sample of Web Notification from a Service Worker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages