PWA Installation + Push notifications in Bubble - What works for me

There’s been a long time with no movement on this post, LOL. I just wanted to give it a Shout Out and show my appreciation for the author.
Thank you!

1 Like

Hey community! It seems PWA with notifications is now supported in iOS !

Have anyone cracked this yet? Planning to convert my app into a PWA and not native app given this. Ideas?

1 Like

Hey @aestela , thank you very much for this information.

I’ve been having an issue, I already did all the steps you mentioned but I keep getting this error in the console, and still don’t get the prompt. What am I missing?

image

Thank you very much!

Hi there

Thanks a lot for your explanation.
Have you been successful in getting the display_mode function on iOS (browser,standalone) and show or not show your prompt accordingly?

I am struggling to retrieving the value in bubble in order to trigger the right UX when PWA is already in standalone mode on iOS.

I am using the toolbox js2bubble element to publish the value but it is always empty.

Any suggestions would be greatly appreciated ?

Hi @aestela

Thank you for sharing such comprehensive tips on PWA and push notifications in Bubble.

However, as it’s been over three years since the original post, I’ve noticed that the official Bubble OneSignal plugin has been removed, and there have been many updates and changes since then.

Would you be able to share the latest tips and best practices on implementing OneSignal push notification in Bubble?

Thanks again for your valuable insights!

The official plugin was removed as part of the v4 migration, but the underlying implementation still works

I forked from this plugin from Lindsay Knowcode because I needed to customize a few elements to make it work with my other service worker, but I imagine the original plug-in is functional

1 Like

@rome1 I tried using the plugin you mentioned, but I’m experiencing inconsistent results. During testing, I can see the device is registered with OneSignal. However, when sending messages from OneSignal, I sometimes receive the push notifications, but most of the time I don’t, even though the message status on OneSignal shows “delivered.” There are no error messages from the plugin, so I’m unable to verify whether I’ve implemented it correctly. Additionally, it’s challenging to find any up-to-date guides on implementing it with Bubble.

For anyone who comes back here, I highly highly recommend using Progressier. Kevin knows his stuff and the installation was a breeze. I honestly can’t believe how easy it was compared to the amount of time I wasted trying to get my own implementation working.

I’m not affiliated with Progressier, just genuinely elated at how much of a headache it’s solved for me.