FLUTTER ECOSYSTEM

firebase_messaging

Flutter plugin for Firebase Cloud Messaging, a cross-platform messaging solution that lets you reliably deliver messages on Android and iOS.

Latest version
16.2.2
30-day downloads
2.1M
Likes
3.9K
Pub points
160

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

Firebase Messaging is a Flutter plugin that enables reliable delivery of messages across Android, iOS, Web, and macOS using Firebase Cloud Messaging. It supports both notification and data messages, allowing apps to receive real-time updates even when the app is closed or in the background. The plugin integrates seamlessly with Firebase services and provides tools for handling message reception, user permissions, and token management. It's ideal for sending push notifications, updating app content dynamically, and improving user engagement through timely alerts.

Use cases
  • Sending push notifications to users
  • Delivering real-time app updates
  • Engaging users with targeted messages
  • Handling background and foreground message events
  • Implementing silent data messages
Key features
  • Cross-platform support (Android, iOS, Web, macOS)
  • Support for notification and data messages
  • Token management for device registration
  • Background and foreground message handling
  • Integration with Firebase Console
Suitable for
  • Apps requiring push notifications
  • Projects using Firebase ecosystem
  • Real-time messaging features
  • User engagement campaigns
  • Cross-platform mobile applications
Considerations
  • Requires Firebase project setup
  • Needs proper permission handling on iOS
  • Web support requires additional configuration
  • Background message handling may require platform-specific code
  • Limited to Firebase Cloud Messaging backend
Supported platformsAndroidiOSWebmacOS

Install package

flutter pub add firebase_messaging

Categories

Source repository

Related projects

Rankings