Skip to content

Push and Service Worker Support #1019

Open

Description

@kaiavi

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.

Activity

  1. jacek-skiba-red commented on Mar 23, 2023

    @jacek-skiba-red

    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

  2. JohnRiv commented on Aug 7, 2023

    @JohnRiv

    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.

  3. TingPing commented on Sep 26, 2024

    @TingPing

    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.

  4. TingPing commented on Sep 26, 2024

    @TingPing

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions