Workaround for Web Push Notifications in FlutterFlow

Integrations

I’m currently working on implementing web push notifications for a project in FlutterFlow, and I’ve run into some challenges with the service worker setup for both fcm and onesignal.

Has anyone found a workaround or alternative approach to enable web push notifications? I’d greatly appreciate any insights, tips, or examples you might have.

Thank you in advance for your help!

What have you tried so far?

I hosted the service worker on Vercel for testing and attempted to register it via the custom header in FlutterFlow’s web publishing section. Unfortunately, this triggered a security error because service workers can’t be registered from a different domain.

Did you check FlutterFlow's Documentation for this topic?
Yes
3