Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup Push Notifications #1

Closed
BolajiAyodeji opened this issue Jan 19, 2019 · 2 comments
Closed

Setup Push Notifications #1

BolajiAyodeji opened this issue Jan 19, 2019 · 2 comments

Comments

@BolajiAyodeji
Copy link
Owner

PWA Setup for Push notifications

@iamdejean
Copy link

Web Applications can use the Push API, in combination with the Service Worker, to receive push notifications messages pushed to them from a server, whether or not the web app is in the foreground, or even currently loaded, on a user agent. It works in the following ways -

  1. The user subscribes to receive push notifications via the Service Worker's Push Manager
  2. We receive and endpoint with the user's subscription ID, which we save securely in a database
  3. We pass the user's subscription ID when we post messages from the server to our messaging service (in this case, Firebase Cloud Messaging)

@BolajiAyodeji
Copy link
Owner Author

Web Applications can use the Push API, in combination with the Service Worker, to receive push notifications messages pushed to them from a server, whether or not the web app is in the foreground, or even currently loaded, on a user agent. It works in the following ways -

  1. The user subscribes to receive push notifications via the Service Worker's Push Manager
  2. We receive and endpoint with the user's subscription ID, which we save securely in a database
  3. We pass the user's subscription ID when we post messages from the server to our messaging service (in this case, Firebase Cloud Messaging)

Thank you, I know all these.
Been too busy to set it up hence this opened issue.
If you want to work on this, fine.
Thank you 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants