Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Push notifications progressive web app on iOS

I need to develop a progressive web app with push notifications integrated. Searching on the web I have found diverse opinions about this subject. If I have understood correctly, for now, we cannot have push notifications in safari for mobile (but only for Desktop). Is it right?

Do you have any suggestions to obtain the same result (I am not an iOS expert)? I was wondering that maybe developing a native app only for push notifications purposes could be a good choice until push notification will be ready also for safari mobile.

P.S. I am developing the PWA using Angular 2.

Thank you for the support.

like image 987
Angelo Ferrando Avatar asked May 15 '18 10:05

Angelo Ferrando


People also ask

Can PWA do push notifications iOS?

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

Can progressive web app send push notifications?

They are passed in the background and do not require the user to be active on your website or even have the browser open. When a device receives a push notification a toast or message window is displayed. If the user is not active on their phone Android will display the notification on their lock screen.

Does Progressive Web App work on iOS?

On iOS and iPadOS, PWAs are only installable if the user is using Safari. That means that users won't install PWAs if they use different browser apps, such as Google Chrome, Firefox, or Microsoft Edge.

Does Apple support web push notifications?

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.


1 Answers

Unfortunately, based this post and also this the latest iOS version(13.3) still doesn't support some features of progressive web app:

  • Web Push Notification
  • Background Sync
  • Page Lifecycle
  • Service Workers on WebViews
  • Universal Links / Link Capturing

Until now, no news that says will be implemented on the next version 14. As I said in the old post, I think iOS doesn't want to support these in PWA because these features have a bigger chance to be unnecessary exploited(spam, etc). And also maybe they want to force developers to create the native application rather than the progressive web application.

like image 100
Muhammad Dyas Yaskur Avatar answered Sep 22 '22 17:09

Muhammad Dyas Yaskur