-
Notifications
You must be signed in to change notification settings - Fork 23.2k
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
PWA Notification.permission Setting Not Persistent on iOS #165822
Comments
For information this is confirmed on even more devices now, and seems to be restricted to iOS only. It does not affect the PWA when running on Desktop Windows or Mac. Verified the bug on:
Another video of the issue, but from iPad -> https://youtu.be/x4QZINqtTgU |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Impacted versions:
v17 Odoo and iOS PWA
Steps to reproduce:
Use PWA on iOS. Accept Desktop Notifications. Open the PWA via a Push Notification, or after the PWA has been in the background for a bit of time, and then you are asked to allow Desktop Notifications again. You can also force this by just switching back and forth between light and dark mode. Enable permissions on either color scheme, then switch, and you will be asked again to enable Desktop Notifications.
Current behavior:
Whenever opening Odoo PWA by clicking on a notification, or if the PWA has been in the background for some time, the user is always asked to enable desktop notifications, even if they have already done so.
Expected behavior:
The users choice should be remembered. If they enabled notifications they should not be asked again.
Video/Screenshot link (optional):
This video shows the bug where the PWA asks for permissions when changing the color scheme
https://youtube.com/shorts/ljntL4A6jVQ?si=Bxv9kzearIFvJMPB
Support ticket number submitted via odoo.com/help (optional):
3933484
The text was updated successfully, but these errors were encountered: