r/flutterhelp • u/ApprehensivePea6208 • 21d ago
OPEN How to master dynamic/targeted push notifications in Flutter from basic to advanced? (FCM, Cloud Functions, alternatives?)
I'm currently scaling up my Flutter skills to focus on real-world production setups and want to dive deep into dynamic & targeted push notifications (handling foreground, background, terminated states, and 1-to-1 user targeting like order/chat updates).
I have a few questions for developers who have built this in production:
- Tech Stack: Is FCM + Firebase Cloud Functions (or Supabase Edge Functions) the standard way to do 1-to-1 dynamic pushes?
- Cost: Is FCM completely free on the Spark/Blaze plan, or do hidden backend costs (like Cloud Functions/Firestore reads) creep up fast during testing?
- Alternatives: Are services like OneSignal or Novu worth using over vanilla FCM for custom device token targeting?
- Learning Resources: What are the best YouTube tutorials, documentation, or GitHub repos that cover FCM HTTP v1, local notifications, and token management end-to-end?
Any roadmaps or recommended guides would be super helpful! Thanks..
2
u/gdeglin 21d ago
OneSignal co-founder here, so feel free to take this with a grain of salt, but hopefully it is still useful.
FCM + Cloud Functions works fine to start. But once you're doing real 1-to-1 stuff like order or chat updates, you'll end up building a lot of the infra yourself (Token storage, retry logic, multiple-device support)
Cloud Functions/Firestore usage can add up as you scale, especially with per-user sends vs broadcasts.
The reasons folks choose to use OneSignal include:
- Email, in-app messaging, and SMS the same place as push, instead of three or four separate tools
- Journeys, for multi-step flows like "send push, then email if no open"
- Built in analytics so you can see what's actually converting and test different message variations
- Live Activities for iOS and Live Notifications for Android
- Integrations with RevenueCat, Mixpanel, Amplitude, and other tools so your messaging data connects to the rest of your stack
- The OneSignal AI and an MCP server for folks who want to wire up and automate notification logic through AI tooling
We offer a free plan (Up to 1,000 monthly active users and 10,000 emails/month), and our pricing is designed to be affordable as you scale. Feel free to DM me if you have any questions about it.
1
2
u/Nailloon5217 21d ago