• Resolved sirtaptap

    (@sirtaptap)


    I know push notifications aren’t included in this app itself, but this is by FAR the best ServiceWorker plugin I’ve found (tbh, you could spin off just the ServiceWorker part alone and it’d be a fantastic plugin and people wouldn’t complain after they break their own javascript).

    Has anyone integrated Push Notifications with this plugin? I’ve never worked with them before but I would like to, is the serviceworker this plugin registers able to do them with the right Javascript events added in my own plugin/js files, or do I need to get another plugin that already does push notifications and use the “importScripts” Above The Fold mentions in the PWA tab?

    If anyone else has done this or knows how I’d love to hear how. I don’t want to lose the PWA features of this app but adding push notifications would check the last item off my list for making a proper web app. My readers are too mobile to bother with email subs so push notifs would be perfect.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author optimalisatie

    (@optimalisatie)

    Hi sirtaptap,

    Thank you for your feedback!

    There are users who use the plugin combined with Push Notification plugins. It is possible to include the PWA service worker inside the Push Notification Service Worker using importScripts.

    The PWA service worker does provide an option to send push notifications, however, this is simply a method that has been made available (Abtf.push(...)). The plugin will not provide in Server Push functionality. It will support other plugins.

    https://www.ads-software.com/plugins/search/push+notifications/

    Thread Starter sirtaptap

    (@sirtaptap)

    Yeah, I started using a different plugin and load the ABTF one with Importscripts now.

    Thread Starter sirtaptap

    (@sirtaptap)

    Do you have any examples of OneSignal/etc integration working properly by the way? I’m trying to integrate it with OneSignal’s offical plugin, and it’s almost working but OneSignal only ever registers a service worker if people opt in. I think that’s their process that’s the problem not this plugin’s though

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Push Notifications With ServiceWorker’ is closed to new replies.