最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - PWA push notification on IOS - Stack Overflow

programmeradmin2浏览0评论

I am looking for a way to send and display notifications on ios pwa apps.

I know it is not possible since the ios safari (and non of the other browsers on ios) support neither the push api nor the notification api.

I am wondering if there was a workaround to do that.

I have already taken a look at this answer, but honestly didn't understand at all.

I am looking for a way to send and display notifications on ios pwa apps.

I know it is not possible since the ios safari (and non of the other browsers on ios) support neither the push api nor the notification api.

I am wondering if there was a workaround to do that.

I have already taken a look at this answer, but honestly didn't understand at all.

Share Improve this question edited Apr 27, 2021 at 6:51 Nymeria 3013 silver badges11 bronze badges asked Apr 27, 2021 at 4:37 alirezafarinalirezafarin 2174 silver badges12 bronze badges 2
  • Any updates on this after ios 15.4 release? – Naveen Kumar Commented Apr 5, 2022 at 2:37
  • 1 @NaveenKumar refer to this answer for the latest update. stackoverflow./a/72899370/12520496 – Nymeria Commented Feb 13, 2024 at 7:22
Add a ment  | 

2 Answers 2

Reset to default 6

The truth is NOT for mobile Safari, at the time I write this answer. I am doing a long research... The Apple PWA on Safari increased a lot, but is not parable to others like Google Chrome browser. As It was said in the article:

At this point in time Apple's iPhone and iPads do not support native push notifications. You can gracefully fallback to SMS notifications.

So, till the moment I have this resume to share:

  • Do Progressive Web Apps (PWA) work on iOS? YES...
  • Apple may wants to turn the PWA as an alternative to the Apple Store.
  • We still can’t open an external link in Safari
  • Still can’t use Push Notifications
  • There is a 50MB service worker cache limit
  • Web apps that have not been used will have their cached assets purged after 7 days

Fonts:webkit,developer.apple.,brainhub.eu,love2dev.,firt.dev

NEW:

Push API is currently in development for Safari (including iOS). It is not currently finished but should be available for testing in a Safari Technology Preview within the next few months.

OLD:

It is not possible to have Push Notifications on Safari. It's been brought up many times and has even been a topic of this years WWDC.

See the following threads:

https://developer.apple./forums/thread/681575

https://developer.apple./forums/thread/681748

If developers want push notifications in Safari we'll need to have a much louder voice. As stated in the link above, native apps got notifications in 2009, it's 2021 and Apple has not even indicated if they are willing to work on it.

发布评论

评论列表(0)

  1. 暂无评论