Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push and Service Worker Support #1019

Open
kaiavi opened this issue Jan 25, 2023 · 4 comments
Open

Push and Service Worker Support #1019

kaiavi opened this issue Jan 25, 2023 · 4 comments

Comments

@kaiavi
Copy link

kaiavi commented Jan 25, 2023

Some of the browser features like Service Workers and Push API https://developer.mozilla.org/en-US/docs/Web/API/Push_API aren't available on WPEWebkit.
Are there any plans to include this anytime in the future?
This is hindering us from implementing a data delivery mechanism based on FCM (Firebase Cloud Messaging).

Just an issue raised to collect additional info.

@jacek-skiba-red
Copy link

jacek-skiba-red commented Mar 23, 2023

Based on WPEWebkit release notes Service worker API is enabled by default starting from WPE 2.28
https://wpewebkit.org/release/wpewebkit-2.28.0.html

@JohnRiv
Copy link

JohnRiv commented Aug 7, 2023

Can anything be shared around the potential inclusion of the Push API in a future version of WEPWebKit? I checked the recent release notes and did not see it mentioned.

@TingPing
Copy link

TingPing commented Sep 26, 2024

As of right now the PushAPI is disabled by default in upstream WebKit: https://github.com/WebKit/WebKit/blob/fd2f10a39d3834be6c9383b82ca741ed89e3513e/Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml#L5703

Before it is usable we need to at least implement WebCore::PushCrypto and optionally
implement NetworkNotificationManager (Only if you want the Notifications API).

I can't say for certain that is all we need but that is all I saw at a glance. There could be other networking related changes.

@TingPing
Copy link

Here is the tracking bug for it: https://bugs.webkit.org/show_bug.cgi?id=245190#c2

There also has to be a server for Push to work. Google and Apple provide their own but they are private.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants