| Summary: | Notifications and Web Push API no longer working in iOS 17.2 Beta | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Daniel Cabrera <dannycabrera> | ||||
| Component: | Service Workers | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED INVALID | ||||||
| Severity: | Normal | CC: | ap, beidson | ||||
| Priority: | P2 | ||||||
| Version: | Safari 17 | ||||||
| Hardware: | iPhone / iPad | ||||||
| OS: | iOS 17 | ||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=247315 | ||||||
| Attachments: |
|
||||||
Running simple script I attached returns not available for both. Created attachment 468499 [details]
test case
Same test as attachment.
Thank you for the report. What were the prior iOS versions where these worked for you? As far as I can tell, neither is expected to be enabled in iOS Safari. Some more details. Seems these calls work just fine when app is added to the homescreen and launched as a PWA. If running Safari and visiting the URL (not launched as a PWA) directly, they return false. Thank you. This behaves as expected, just needed to confirm that there wasn't any recent change. |
Seems like notifications and push api is not available in iOS 17.2 Beta. if ('PushManager' in window) console.log('Push available'); else console.log('Push not available'); if ('Notification' in window) console.log('Notification available'); else console.log('Notification not available');