Bug 282134
Summary: | REGRESSION Web Push Notifications stopped working on Safari 18 | ||
---|---|---|---|
Product: | WebKit | Reporter: | collimarco91 |
Component: | Service Workers | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Major | CC: | ap, cdumez, nham, youennf |
Priority: | P2 | ||
Version: | Safari 18 | ||
Hardware: | Unspecified | ||
OS: | macOS 14 |
collimarco91
Web Push Notifications no longer work in Safari v18.
See this demo for example:
https://pushpad.xyz/demo
Notifications have always been working fine. However today I have upgraded Safari and notifications no longer work.
You get the permission prompt but then the returned subscription is always null...
Other people have reported similar bugs here a few days ago:
https://stackoverflow.com/questions/79082843/cant-use-pushapi-on-macos-safari-returned-endpoint-is-an-empty-string
Please inspect this major issue that completely prevents the usage of push notifications.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
collimarco91
I fixed the issue with Safari 18 by *upgrading to MacOS Sequoia*.
Now notifications work fine again.
Alexey Proskuryakov
Tank you for the report. What OS version were you using before that?
Ben Nham
Hi, we are aware of this issue and are working to fix it. Basically, there's a missing code signing attribute in the webpushd installed in the Safari 18 update which is causing it to use the wrong version of WebKit on older macOS (i.e. pre-Sequoia). The missing attribute has no effect on Sequoia.
Marking as duplicate of 281155.
*** This bug has been marked as a duplicate of bug 281155 ***