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

[chat] browser notification #163

Open
yoursunny opened this issue Jan 21, 2025 · 2 comments
Open

[chat] browser notification #163

yoursunny opened this issue Jan 21, 2025 · 2 comments

Comments

@yoursunny
Copy link

Can I get a browser push notification, if a chat message is received when my webpage is closed?

@zjkmxy
Copy link
Collaborator

zjkmxy commented Jan 21, 2025

This is likely not doable for now. The existing options for push notifications are:

  • Web Push API, which requires an HTTPS server to be always online and registered to the browser.
  • (Periodic) Background Synchronization API, which is only supported by Chrome and Edge.

@yoursunny
Copy link
Author

  • Background Synchronization API, which is only supported by Chrome and Edge.

So it's feasible for Chrome based browsers.

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