Skip to content

A module to subscribe to Mozilla Autopush and receive notifications

License

Notifications You must be signed in to change notification settings

bitwarden/autopush-manager

Repository files navigation

Autopush Manager

A module to subscribe to Mozilla Autopush and receive notifications.

Example

A node example is provided in the examples directory. It can be run from the root project directory with:

npm run build && node examples/autopush.cjs

It will connect to the Mozilla Autopush server and listen for notifications. Log messages and subscriptions are printed to the console. Notifications can be sent to the subscription through normal means. https://web-push-codelab.glitch.me/ is a good resource for debugging. Simply update the applicationServerKey in the example to the one provided by the push companion.

About

A module to subscribe to Mozilla Autopush and receive notifications

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published