Error fetching notifications: Failed to construct 'Notification': Illegal constructor. Use ServiceWorkerRegistration.showNotification() instead
Environment info
- Browser, version, OS, platform: Chrome 120.0.6099.144, Android 12.
- Frontend version: 6c78b59c
- Backend version: 2.6.1
Bug description & reproduction steps
Everytime you got an notification, especially in mobile, An error on ServiceWorker appears.
Error fetching notifications: Failed to construct 'Notification': Illegal constructor. Use ServiceWorkerRegistration.showNotification() instead
Step to reproduce:
- Use an mobile browser, atleast an chromium based one
- Wait for notification
Bug seriousness
- How annoying it is: Very annoying
- How often does it happen: Everytime i got notifications
- How many people does it affect: More than 2
- Is there a workaround for it: ¯\_(ツ)_/¯
Edited by Yonle