Implement Web Push Notifications #10
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When someone generates a URL with your unique request URL, users should be able to opt-in to receiving notifications that take them directly to the generated URL.
This will require a server for the client's service worker to subscribe to. Developers can opt-in to generating a version of the site with this functionality and set the endpoint they'll be using for push notifications. Otherwise the feature will not be included, and no service worker will be generated/registered.
The server SURE will be using will be in a different repository. So far, planning to use a Phoenix Elixir server that doesn't use a traditional database and only serves API requests. Mnesia, an in-memory database, will be used instead. It will need to update the subscription with each new site visit. If the server restarts, the database will be lost, and push notifications will not function for clients until they visit the site again.