Services Plugins FAQs

Web Push Notification subscribed event not firing

I’ve followed the video instructions for Web Push Instructions and have gotten the push notifications permission prompt to trigger, but after clicking ‘Allow’ nothing happens. The ‘subscribed’ action that follows in the tutorial video is not happening. Any ideas?

1 Like

Hello @cheol.rim,

Thanks for reaching out.

I also saw your message on the email and replied there, please feel free to continue our discussion where it is more confortable for you. :pray:

To better understand what could have gone wrong in your case, would it be convenient for you to share more details on your use case? Specifically, screenshots and a screencast showing how you set up the plugin element, the workflow, the problem you’re encountering, and the result you want, for recording you can use the Loom tool.

Also, please let us know which device and browser you are using. Please check the browser console and app logs in Bubble to see if there are any messages that could give more information on the problem you are having.

Thanks, and looking forward to your reply.

Best regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3

Quick update: I had the client upgrade the app to a paid plan and subscribed to the plugin. However, the subscribed event still wasn’t being triggered. It turns out that the current version of the service-worker.js file that is downloadable on the plugin page (https://web-push-notifications.bubbleapps.io/) was the issue. I edited the file to match the code shown in the video and that did the trick.

However, I have one other issue: how can I send push notifications to a list of subscribers? I’m not trying to send out spam, but the use case is sending update notifications to a project team so realistically just a handful of users at a time. I tried commas, spaces, semi-colons and none worked. The push simply didn’t go to any subscriber.

1 Like

Hello @cheol.rim,

Thanks for your message.

Great to hear you found the cause behind your previous concern. Yes, indeed the file must be adjusted as per the video instruction in order to function properly. You can even change more options in the file to adjust to your needs.

Regarding your question about sending push notifications to a list of subscribers, I have forwarded it to the development team and will get back to you as soon as any information is available.

Thanks for your understanding. If you have any other questions, please let me know.

Best regards,
Stefan

Hello @cheol.rim,

I hope you’re doing well.

I’m following up on your last question about sending push notifications to a list of subscribers.

The plugin action can indeed send push notifications to only one user at a time. However, for your use case, you can create a loop that runs the workflow multiple times, dynamically changing the values each time.

I hope this helps. Have a great weekend ahead!

Best regards,
Stefan