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

Notifications are shown for messages sent by the sender in channels #813

Open
nikkothari22 opened this issue Apr 4, 2024 · 1 comment
Open
Labels
🐞 bug Something isn't working 📱mobile app

Comments

@nikkothari22
Copy link
Member

nikkothari22 commented Apr 4, 2024

Service worker doesn't have access to any variables or local storage.

  1. Store the current user in IndexedDB
  2. Service worker fetches current user ID from indexedDB to check whether to show a notification
  3. Clear current user from indexedDB after logging out.

This needs to be done before implementing push notifications on web app to avoid notification hell.

Copy link

linear bot commented Apr 4, 2024

@maige-app maige-app bot added enhancement New feature or request 🐞 bug Something isn't working 💻 webapp labels Apr 4, 2024
@nikkothari22 nikkothari22 added 📱mobile app and removed enhancement New feature or request 💻 webapp labels Apr 4, 2024
@nikkothari22 nikkothari22 pinned this issue Apr 7, 2024
@nikkothari22 nikkothari22 linked a pull request Apr 7, 2024 that will close this issue
@pranavmene2000 pranavmene2000 unpinned this issue Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working 📱mobile app
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant