[Webkit-unassigned] [Bug 268797] notificationclick events in serviceworkers not firing
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 4 11:26:00 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=268797
--- Comment #28 from Berni <bsoft at mandel-straub.de> ---
I noticed that on iOS (18.0.1), iPadOS (18.0.1), and MacOS (15.0.1), which are all the latest stable releases, the default pattern of clicking on a notification does not require any further actions for either opening a PWA or bringing a PWA to the foreground.
This is quite the opposite of e.g. Chrome, where those actions have to be added to the 'notificationclick' event handler.
I'm not sure if this is standard for push notifications, but it's confusing and requires different code for each browser.
After removing all custom code from my 'notificationclick' event handler except for storing an item in IndexedDB and broadcasting the change to the main thread, it's at least working more reliably than before.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241004/370561b2/attachment.htm>
More information about the webkit-unassigned
mailing list