implement-firebase-notifications

Implement and audit Firebase Cloud Messaging push notifications in Flutter apps.

Updated Apr 1, 2026
One-click install
npx skills add https://github.com/andrelucassvt/CleanMacForDevsWeb --skill implement-firebase-notifications
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: implement-firebase-notifications
Source: https://github.com/andrelucassvt/CleanMacForDevsWeb/tree/main/.agents/skills/implement-firebase-notifications
Command: npx skills add https://github.com/andrelucassvt/CleanMacForDevsWeb --skill implement-firebase-notifications

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides developers to implement and audit Firebase Cloud Messaging push notifications for Flutter apps on iOS and Android, addressing common misconfigurations and debugging flows across the full end-to-end stack.

Core Features & Use Cases

  • End-to-end guidance covering project setup, permissions, token management, background handling, and foreground messaging.
  • Platform-specific configuration checklists (iOS and Android) plus DI and clean architecture patterns for Flutter apps.
  • Use cases include adding FCM to an existing Flutter project, auditing a broken notification flow, and verifying push works on real devices.

Quick Start

Initialize Firebase Messaging in your Flutter project and validate push notifications on a device.

Frequently Asked Questions about implement-firebase-notifications

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement Firebase Cloud Messaging push notifications in a Flutter app?

Firebase Cloud Messaging in Flutter requires platform-specific configuration for APNs, Firebase Console, entitlements, and Google Services, followed by Dart and native integration for token management, background handling, and foreground display across iOS and Android.

Why are my Flutter FCM push notifications not working on iOS and Android?

Flutter FCM push notifications typically fail due to misconfigured APNs settings, missing entitlements, or incorrect Google Services setup. Auditing the end-to-end notification flow, including permissions and token management, helps identify and resolve these common platform-specific configuration errors.

Do I need to configure APNs and Google Services separately for Flutter push notifications?

Yes, implementing Flutter push notifications requires distinct platform setups: configuring APNs, Firebase Console, and entitlements for iOS, alongside Google Services for Android, to establish a reliable end-to-end Firebase Cloud Messaging flow.

How does token management work with Firebase Messaging in Flutter?

Token management in Firebase Messaging involves acquiring and updating device registration tokens within your Flutter app. Properly managing these tokens allows you to target specific devices, handle background messages, subscribe users to topics, and ensure reliable notification delivery.

Can I handle foreground and background FCM messages using clean architecture in Flutter?

Yes, you can handle foreground display and background messaging using dependency injection and clean architecture patterns in Flutter. This approach structures your Firebase Cloud Messaging integration for maintainable end-to-end notification flows across iOS and Android.

What is the best way to audit a broken Firebase Cloud Messaging flow in Flutter?

The best way to audit a broken Firebase Cloud Messaging flow is to check platform-specific configurations like APNs and Google Services, verify permissions, and trace token management and background handling logic against expected end-to-end notification behavior on real devices.