Bug 182566 - Feature Request: Add support for the ServiceWorkerRegistration's PushManager interface
Summary: Feature Request: Add support for the ServiceWorkerRegistration's PushManager ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Service Workers (show other bugs)
Version: Safari 11
Hardware: Unspecified Unspecified
: P2 Enhancement
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-02-07 00:56 PST by Thomas Steiner
Modified: 2019-11-12 13:28 PST (History)
91 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Steiner 2018-02-07 00:56:43 PST
This Feature Request is to gauge WebKit's interest in implementing the ServiceWorkerRegistration's PushManager interface (https://w3c.github.io/push-api/#pushmanager-interface), aka. "Push API".

It's "live" in Chrome and Firefox (https://www.chromestatus.com/feature/5416033485586432), and "in development" in Edge (https://developer.microsoft.com/en-us/microsoft-edge/platform/status/pushapi/).
Comment 1 Takahiro Ichihashi 2018-03-16 00:55:20 PDT
Webkit status shows Service Workers is "supported in preview", but I'm afraid this would be incorrect unless Push API is supported. Push API is quite popular reason for current websites to implement Service Workers today. Hoping anyone to start discussing / building this feature. 
https://webkit.org/status/#?search=service%20workers
Comment 2 Chris Dumez 2018-03-16 08:47:34 PDT
(In reply to Takahiro Ichihashi from comment #1)
> Webkit status shows Service Workers is "supported in preview", but I'm
> afraid this would be incorrect unless Push API is supported. Push API is
> quite popular reason for current websites to implement Service Workers
> today. Hoping anyone to start discussing / building this feature. 
> https://webkit.org/status/#?search=service%20workers

It is a different specification.
Comment 3 Takahiro Ichihashi 2018-03-16 09:41:51 PDT
Agree this is not just a small portion of existing tasks, someone needs to decide and probably creates necessary component category and issues. Wanted to ping you guys that this is a highly expected feature. :) I think there will be complaints against webkit not having pushmanager as part of service workers once it's published more widely. 

Probably chrome folks know the situation pretty well but maybe not giving enough citing/warning here because of browser competitions.
Comment 4 Stefan Sechelmann 2018-03-16 09:57:35 PDT
I suspect this to be a highly political decision which has to be decided by Apple internally. In the end this differentiates if PWAs are first class citizens in iOS or not. If apple opts into WebPush this will cut into its AppStore revenue eventually.
Comment 5 Brady Eidson 2018-03-16 13:04:46 PDT
As we indicated we were doing last year, we’ve implemented the core ServiceWorker spec - https://w3c.github.io/ServiceWorker/ - in trunk WebKit.

Web Push is a different spec that we’ve made no comment on one way or another.

We know there’s interest in implementing the Web Push spec, and thank you for your feedback.

There’s nothing to announce right now, as Apple generally doesn’t comment on future products/development.
Comment 6 tmdoit 2018-11-27 09:52:36 PST
Any updates?
Comment 7 Arno ten Hagen 2019-01-28 11:31:39 PST
We need the Push API! When will it be added? A lot of webdevs are waiting for this feature.
Comment 8 Richard Maher 2019-01-28 20:00:24 PST
Please be aware that the current W3C Push API specification does not support "broadcast" or Topic-based subscriptions such as weather updates, news, etc. To achieve this highly desirable functionality people have had to turn to Firebase :-(
Comment 9 Richard Maher 2019-01-29 22:12:58 PST
Here is a think to a description of the W3C Web API deficiency https://t.co/S9fTNUersU

Maybe Apple and Google can cooperate to produce a Push Protocol that encompasses more use cases than just the Dark Web "I must encrypt all my communication!"
Comment 10 Richard Maher 2019-01-29 23:11:14 PST
Sorry for not adding this potential solution link to previous: -
https://developers.google.com/web/updates/2018/11/signed-exchanges
Comment 11 Maciej Stachowiak 2019-01-30 23:10:45 PST
<rdar://problem/34829517>
Comment 12 Michaela Merz 2019-02-07 14:27:54 PST
Push Notification is essential for all interactive web (and pwa) environments. Users are enjoying web-mail, gaming, messaging, rtc-style talking, conferencing and much more that may require (push-) notifications to tell the user about important events if she is not actively on the page. It's sad that we always have to add an (*) to our feature list stating that push notifications are not (yet?) supported on webkit browsers.
Comment 13 Balint H 2019-02-19 06:15:37 PST
Any updates? We need the Push API on iOS. A lot of users (humans) are waiting for this feature.
Comment 14 Michael Flores 2019-03-11 12:26:50 PDT
We'd love to implement push notifications on Bethesda.net, a website used by millions every month to get the latest gaming news. It's not a case where we want to make a native app, but would love the capability of pushing customized notifications to users without them having to be on the site – that's where this API comes in.
Comment 15 Filip Bech-Larsen 2019-03-11 12:34:08 PDT
Push Notifications are such a great features in e-commerce, and it kills me that our iOS users still have to do with old-fashioned email. 
Sure the loyal recurring customer could download the app, but most clients buy once a year, and shouldn't choose between receiving order-updates with a 150mb app or getting along with email in our instant web-experience.
Comment 16 Arthur 2019-03-11 13:06:54 PDT
It would be awesome if Safari on iOS at least supported its proprietary format from macOS. It would be much better than nothing.
Comment 17 Romulo Cintra 2019-03-11 15:03:38 PDT
It would be a game changer for all web app developers having some kind of Push Notifications implemented in iOS. Probably with similar implementation from the native ones the way fits better but is really needed to have it cross-platform way
Comment 18 James 2019-03-11 16:36:44 PDT
Push API would be a very useful API for the types of apps I am developing. I do not currently have the Push API because almost all of my users are on iOS but if WebKit delivers signals of implementation I would begin working on including the feature immediately.
Comment 19 Edmond 2019-03-15 15:22:18 PDT
Two of my customers (small and large startups) are eagerly anticipating the notifications feature to be supported on iOS. Your work and progress on this is much appreciated by developers and small businesses, like these two in Denmark, Copenhagen.
Comment 20 collimarco91 2019-03-24 14:53:07 PDT
+1 For the Push API. I work at Pushpad and we receive so many emails from customers that ask about iOS support. I think that many people are waiting for this feature and Safari on iOS is the only browser that doesn't support it.
Comment 21 Glenn Hansen 2019-03-28 07:00:17 PDT
Push Notifications is such a vital feature for user engangement. And having to either create a Passbook workaround, or wrap the PWA inside a cordova app (Which might be denied from the app store, as it's just a website, with notifications).
Many of our clients can't afford to have both a web page and a seperate app under development, and are eagerly awaiting this feature.
Comment 22 Sheridan 2019-03-28 08:16:13 PDT
Adding my support for this feature - it would be an important game changer in allowing users to have a better experience with PWAs on iOS.
Comment 23 Francois 2019-04-02 01:44:38 PDT
+1. This is #2 missing PWA feature on iOs imho (#1 being "Add to Home Screen"). Thanks!
Comment 24 Nicolas Hoizey 2019-04-02 04:20:06 PDT
Most of my clients still refuse to consider PWAs as a viable alternative to most iOS apps because they want a way to (re)engage their users, and Push Notifications are the only way on the Web.

They did change their mind for Android, and got great results, so they now consider iOS as a painful platform to work with.
Comment 25 Kiere El-Shafie 2019-04-04 20:32:59 PDT
Adding my support for this feature.  Our app is launching as PWA-only at first and push notifications are a critical component to alert our users of new content.
Comment 26 Naseef Fatemi 2019-04-05 02:42:21 PDT
Adding this feature would do wonders for the E-commerce websites already on our platform. 

It would give them an opportunity to help reach thousands of customers who doesn't want to get an app but still be reminded of offers and new additions that come to that Store!
Comment 27 dom 2019-04-08 10:02:16 PDT
+1 -- highly desirable to improve the quality of homescreen PWAs.
Comment 28 Arthur Taylor 2019-04-09 07:29:35 PDT
+1 this feature really would make all the difference to delivering meaningful and valuable PWAs
Comment 29 jjitl 2019-04-09 10:32:05 PDT
+1 interested in web push to help standardize organizational communications
Comment 30 Philipp 2019-04-09 14:02:14 PDT
+1 Would be great to have this
Comment 31 aarontgrogg 2019-04-10 04:24:11 PDT
Yes please, this is a huge feature!
Comment 32 Ernst 2019-04-15 01:38:34 PDT
+1 Clients are beginning to ask for PWAs with Push Notifications.
Comment 33 bender 2019-04-18 15:32:35 PDT
Forcing apps to go through an app store and pay 30% is anticompetitive. Apple needs to stop being jerks and allow developers the option to create PWAs with similar functionality to native, or will risk the hammer from regulators.
Comment 34 Jesús 2019-04-18 17:50:21 PDT
+1 this feature would help to create more amazing web applications.
Comment 35 Pixelstyle 2019-04-29 00:10:58 PDT
+1 I would love to see this feature. It would make live so much easier.
Comment 36 Bas 2019-04-29 00:12:49 PDT
+1 It would be great to have this!
Comment 37 pp33pp22 2019-05-02 05:31:18 PDT
+1 It would be great to have this!
Comment 38 lobachov 2019-05-02 16:31:19 PDT
Come on, guys, we really need this feature. We are going to make a PWA for some banks and wit will be very awesome to send push-notfications about every transaction.
Comment 39 Kayhan Ogretir 2019-05-20 00:44:38 PDT
Hi guys. Please let us know if this feature will not be implemented because of some strategic decision given by Apple people. PWA apps are serious thread to App Store in my opinion. If so, we should not invest on PWA tech.
Comment 40 Yura 2019-05-28 02:54:05 PDT
+1 for technology evolution. Time to leave stone age behind.
Comment 41 Takahiro Ichihashi 2019-05-28 08:00:11 PDT
I also look forward to this. Feature wise, I think native app is getting more stable, and having aligned PWA features across browsers at this time (meaning, maybe in iOS 13.x) will be effective as a stimulator to generate investments to new applications. Maybe it will also help keep the web/ecosystem being a good place.
Comment 42 Michael Mitrakos 2019-05-28 10:03:54 PDT
With the wide acceptance and growth of PWAs across all browsers, iOS Safari not having this implemented is a big hit and major downside for all of our users. This should be a top priority for the Apple iOS Safari team right now
Comment 43 jordan.michael.last 2019-05-28 10:45:27 PDT
This is a top feature that I'm waiting for to implement PWAs, I really need this.
Comment 44 Adam Alexander 2019-05-30 21:20:41 PDT
Apple needs to add this feature ASAP. The reason why it’s one of the most widely requested feature is because it’s standard now. Things are changed, the web is changing. PWA are now becoming a staple. Web Push is a staple. iOS needs to keep up with the times and implement this ASAP. All Apple’s competitors support this. At this time, Android PWA’s are more powerful
Comment 45 Dmitriy 2019-06-04 00:32:58 PDT
I was hope you would introduce this feature at WWDC 2019. This feature is really important for our users.
Comment 46 Steve 2019-06-04 05:26:52 PDT
+1 This is a much needed feature. Please comment or give us some indication on when we can expect this feature.  Thank you.
Comment 47 Lorenzo G. 2019-06-05 01:18:39 PDT
+1 this feature would help to create more amazing web applications.
Comment 48 Yura 2019-06-05 02:43:22 PDT
It feels so like Microsoft with IE in good old times. And we all know how it ended in December 2018. Instead of resisting evolution of technologies it's better to lead it. Add support for PWA in Apple Store and it will be a win-win situation for everybody.
Comment 49 Jeroen Zwartepoorte 2019-06-06 03:04:27 PDT
I work on an educational web application. Currently we have to develop a separate mobile application because push notifications are essential for certain functionality: when a room in the schedule has changed, students get notified of this change for example.

So currently we have 2 teams who work on similar functionality in 2 different technology frameworks. We would much rather have 1 responsive web application (PWA) that works across all devices.

This specific feature is blocking for us.
Comment 50 Gary Garside 2019-06-11 07:20:26 PDT
+1 As a primarily web driven development agency, we're seeing an uptake in requests from clients in promoting their brand and presence on mobile devices via PWAs. With Jun 6th's inclusion in iOS 13 beta 1 of getUserMedia support, we're closer than ever to delivering native-like experiences with web technologies.

Along with Add to Homescreen support (https://bugs.webkit.org/show_bug.cgi?id=193959), PushAPI is vital in delivering said experiences without the need for true native apps.
Comment 51 matthew 2019-06-12 07:57:38 PDT
Would love to see this happen to avoid duplicating code just for iOS.
Comment 52 Darryl Pogue 2019-06-12 08:26:05 PDT
The WebKit bugzilla is not the best place to make feature requests, and especially piling on in comments is unlikely to raise the priority of this request.

Please use Apple's Feedback Assistant tool to report feedback and request this feature: https://feedbackassistant.apple.com

Apple uses duplicate reports to assess priority of issues, so you can reference this bugzilla report and also Radar #34829517 to help them associate the duplicate reports.
Comment 53 Stefan Sechelmann 2019-06-12 09:02:59 PDT
I tried and even though I'm a registered developer with a valid subscription it won't let me log into the Feedback-Assistent. Anyone having luck with this?
Comment 54 Morgin 2019-06-12 09:54:59 PDT
(In reply to Darryl Pogue from comment #52)
> The WebKit bugzilla is not the best place to make feature requests, and
> especially piling on in comments is unlikely to raise the priority of this
> request.
> 
> Please use Apple's Feedback Assistant tool to report feedback and request
> this feature: https://feedbackassistant.apple.com
> 
> Apple uses duplicate reports to assess priority of issues, so you can
> reference this bugzilla report and also Radar #34829517 to help them
> associate the duplicate reports.

Apple’s Maciej Stachowiak and WebKit engineer Chris Dumez have both confirmed this is the appropriate place to submit feature use case requests for improvements to PWA support in iOS.
Comment 55 jjitl 2019-06-12 13:56:01 PDT
(In reply to Darryl Pogue from comment #52)
> The WebKit bugzilla is not the best place to make feature requests, and
> especially piling on in comments is unlikely to raise the priority of this
> request.
> 
> Please use Apple's Feedback Assistant tool to report feedback and request
> this feature: https://feedbackassistant.apple.com
> 
> Apple uses duplicate reports to assess priority of issues, so you can
> reference this bugzilla report and also Radar #34829517 to help them
> associate the duplicate reports.

First comment by Joseph Steiner: 'This Feature Request is to gauge WebKit's interest in implementing the ServiceWorkerRegistration's PushManager interface (https://w3c.github.io/push-api/#pushmanager-interface), aka. "Push API".'
Comment 56 Thomas Steiner 2019-06-12 14:14:50 PDT
It’s fine to comment here, yet conditions apply:

“[…] If you want to provide info about Push API, you can comment on the bug. Preferably concrete use cases, especially things you are doing or plan to do with it.”—https://twitter.com/othermaciej/status/1138714587384098816?s=21
Comment 57 Richard Maher 2019-06-17 22:35:18 PDT
Can I ask all the +1s why they can't use FireBase now?

Don't forget that @w3c obstinately refused to acknowledge the need for broadcast-messaging a.k.a topic-based subscriptions which FireBase has supported for yonks.


Is the W3C involvement more than a pseudo security blanket?
Comment 58 Thomas Steiner 2019-06-20 16:39:34 PDT
Google Search sends a notification once search results are available following a background sync event: https://web.dev/google-search-sw#meaningful-offline-experience and https://twitter.com/jeffposnick/status/1141849366094929920?s=21.
Comment 59 Richard Maher 2019-06-20 22:21:00 PDT
(In reply to Thomas Steiner from comment #58)
> Google Search sends a notification once search results are available
> following a background sync event:
> https://web.dev/google-search-sw#meaningful-offline-experience and
> https://twitter.com/jeffposnick/status/1141849366094929920?s=21.

Was that a mistaken reply to @me or do you not have the faintest about what broadcast messaging or topic-based subscriptions are?
Comment 60 Mark Harrell 2019-07-22 09:48:57 PDT
We're going to use push notifications in our progressive web app to notify a user when they aren't meeting their "goals" (we're building a writing tool). PWAs won't really take off until this is added.
Comment 61 Thirteenth 2019-07-29 00:39:00 PDT
IPS Community Suite (one of the most popular forums software) is going to use push notifications in their software when it will be shipped to webkit.

XenForo (also is the popular forums software) already shipped it and it works great. The only problem it is not supported in webkit (yet, i hope).

It's also already implemented in a bunch of other forums.

We would love to use it for notifications about new personal messages, mentions, etc. Hope to see it also in webkit soon!
Comment 62 enkay16 2019-08-19 12:27:38 PDT
Push notifications are much needed for many PWAs. Very hard to build any kind of app with a social component / interactivity without it.
Comment 63 Jon Gross 2019-08-20 07:32:14 PDT
Push notifications are required for us to consider building a PWA.  Please add this soon.
Comment 64 aarontgrogg 2019-08-20 07:48:13 PDT
Service Workers allow the web to continue moving forward.

From providing offline capabilities, to improved page load speed, to replacement assets for varying device sizes and capabilities, to background syncing, to push notifications, and so on.

Developers cannot continue improving user experiences if we cannot rely on technology being available.
Comment 65 dulyr 2019-08-24 18:24:40 PDT
Telling all our customers that Apple devices don't support years old features and that they can have a worse experience than almost all other customers because of this.
Comment 66 Alberto 2019-08-25 17:28:09 PDT
As a xenForo forum customer, I'd like to see this implemented to enable feature parity for messaging notifications via push. Currently, we can only offer this functionality to Android users and have to tell iOS users this isn't supported on their platform due to technical limitations.
Comment 67 pp33pp22 2019-08-28 06:54:14 PDT
Same here. As an online productivity platform with over 140'000 users, we currently have to tell all of our users that push notifications only work on Android and non-Apple browsers on Mac OS. I'm an Apple fan and heavy user, but it's hard to explain to customers why Apple is so far behind here.

In our case, people rely on this feature so heavily, that some companies that use our platform have chosen to buy Android devices instead of iPads for their people in the field for pretty much that reason only.
Comment 68 tmdoit 2019-08-29 10:39:15 PDT
When they implement it, I don't see any reason why most of the software for iOS should be not build as a web application (among others same code base for iOS,Android,Web and desktop, better capabilities for testing, more developers). 
That's the reason why they didn't make it already I think.
Comment 69 Cormac Bonner 2019-08-30 08:57:03 PDT
We would also love to see this feature implemented as soon as possible. We have already implemented for Android and desktop but our organisation uses Apple devices in the field so it is a big blocking point for us. Our app is an issue tracking and reporting app that provides notifications on issues and deadlines etc. We want to use PWA apps enterprise wide going forward but this key feature is a real gap in our product. More so than background sync or web manifest features.
Comment 70 Isaak Eriksson 2019-08-30 09:39:16 PDT
Many startups like the one I'm in prefer PWA's over native apps since the maintenance cost is a lot cheaper. We made a mistake with a limited budget to develop two separate native apps (Android and iOS) that lead us to countless bugs. We're now considering PWAs however due to the fact that a lot of our users are on iOS the limiting factor is push notification support.

Apple as a large tech giant must have the social responsibility of allowing technical innovation to happen from smaller startups. PWAs are a much cheaper and more accessible toolkit for startups and innovators to use. It's unethical to not include PWA features simply because of fear that the app store will lose its users to the web.

All the major browsers are pushing for PWA support. We as developers appreciate the recent PWA improvements for Safari in the iOS beta 12.2, and look forward to a more accessible mobile experience from Apple.
Comment 71 Brandon 2019-09-03 09:11:07 PDT
About to start development of PWA within enterprise.  All users are being told iOS does not support push notifications, which is a critical feature to our users for many of our applications, and will eventually push them to Android.   Withholding this functionality will only hurt Apple in the long run.  A quick case study on the downfall of Internet Explorer should make the decision pretty straightforward.
Comment 72 Krzysztof Kosman 2019-09-06 02:12:32 PDT
+1 for this one and in general for supporting progressive webapps features in safari. Would have helped us design better solutions for our clients a many times now.
Comment 73 Tealk 2019-09-12 06:34:48 PDT
+1  Very desirable!
Comment 74 Tomás Oliveira 2019-09-12 14:40:16 PDT
+1 We need push notifications in iOS so that we can achieve feature parity in our web application for mobile users.
Comment 75 Keysee 2019-09-19 13:52:37 PDT
This is much-needed feature for PWA! It's literally the one thing that keeps me hesitating about web apps.
Comment 76 bentz 2019-09-24 13:33:53 PDT
+1 for push... 
As a long time Apple fan, I'm really puzzled by the fact that Apple is the last in line to adopt a so basic and required feature. 

I'm personally aware of at least 3 different mid-size local companies who decided go ahead and develop PWAs with push notifications as an integral part of their App's features and instructed their workers to replace their Iphones with Android devices (due to the lack of push support in iOS).

Very strange approach by apple (and a tactical mistake) if you ask me... too bad.
Comment 77 Jimme 2019-09-29 15:31:39 PDT
The past three projects I have built that support notifications now actively encourage iPhone users to switch phones or 'remember to log in regularly to get notifications.'  

The last time I remember showing notifications to ask people to switch tech was for IE4...
Comment 78 Ash Connell 2019-10-02 16:20:07 PDT
I build applications for small to medium businesses to help them perform day to day work. These applications are mostly for internal purposes.

Almost all of my clients have no interest in building an app on the App Store and prefer the benefits that come with PWA's such as being able to access it from any platform, have instant updates and a smaller price point.

It's very common these PWA's need to notify users when important things happen within the company. When I explain to them that push notifications are available on every platform *except* iOS, almost all of them have had no issue replacing current workplace iOS devices with Android. The benefits of PWA outweigh using native *just* to get push notfications. This usually works out better for the business anyway as Android devices are more affordable and push notifications allow them to run their business processes with expediency.

I usually have to repeat this whole process with each new client so I would much prefer that iOS had Web Push, so that I can focus on building value for my clients instead of talking about the technical limitations of iOS.
Comment 79 Stéphane JAIS 2019-10-03 02:49:18 PDT
Hi,

we've put together a petition for this:

http://chng.it/TMHvKgLQtD

Help us make Apple implement web push notifications, sign the petition!