Skip to content

gavin667/push-notification-service-worker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Push Notification Service Worker

This is a work in progress...

Getting Started

Copy the service-worker.js file into the root of the publicly accessible directory that you want to allow the service worker access to.

You should tweak aspects of the service-worker.js per your project specifics.

Once the service worker is in place, you need to tell the browser to initiate the installation of the service worker, if the browser supports service workers. To do this copy the content from app.js and place into a javascript file that you are using in your project. Again certain aspects of the this file may need tweaked based on your project specifics.

Example

Acknowledgments

About

A service worker for push notifications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published