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:
Depends on:
Blocks:
 
Reported: 2018-02-07 00:56 PST by Thomas Steiner
Modified: 2018-11-27 09:52 PST (History)
10 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?