Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS/iPadOS safari push api support

Does the iOS/iPadOS version of safari support push api standard with service worker?

EDIT: there is a petition you can sign to raise awareness on this topic

like image 759
Niccolò Fanton Avatar asked Jun 05 '18 05:06

Niccolò Fanton


People also ask

Does Safari support push API?

When important, time-sensitive events occur, inform your website users with push notifications you send from your server. In Safari 16 in macOS 13 or later, Safari supports web push — push notifications that use the cross-browser Push API, Notifications API, and Service Worker standards.

Does iOS support web push notifications?

Hi, Progressive Web Apps is a trend in 2019 and web push notifications for iOS are not supported right now.

Does Safari support web push notification?

The good news is that Pusher Beams now has Safari support and we've been able to hide most of the complexity for developers by: We provide a unified API for triggering notifications to Push API browsers and Safari – you can send to both with a single API call (as well as to iOS/Android)


1 Answers

iOS don't support the W3C Spec web push notifications yet. But there is a Safari specific API for web notifications. Refer to this answer on multiple options you have.

https://stackoverflow.com/a/49803408/1057093

Update: Corrected the Answer in the above link to clarify proprietary solution is only for OS X - Safari and no solution for iOS Safari yet. Custom in app notification is the best we can do today for iOS Safari.

like image 175
Anand Avatar answered Sep 20 '22 01:09

Anand