Search packages, repositories and app categories

Package detailsv17.0.1

firebase_messaging

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

AndroidiOSWebmacOS
30-day downloads
4.3M
Likes
4K
Pub points
160

Install package

flutter pub add firebase_messaging

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

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

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Flutter + Firebase logo

FlutterFire

Follow on Twitter Maintained with Melos OSSF scorecard


[Changelog] • [Packages]


FlutterFire is a set of Flutter plugins that enable Flutter apps to use Firebase services. You can follow an example that shows how to use these plugins in the Firebase for Flutter codelab.

Flutter is Google’s UI toolkit for building beautiful, natively compiled applications for mobile, web, and desktop from a single codebase. Flutter is used by developers and organizations around the world, and is free and open source.


Documentation


Stable Plugins

Name pub.dev Firebase Product Documentation View Source Android iOS Web MacOS Windows
Analytics Analytics pub.dev badge 🔗 📖 firebase_analytics ✔ ✔ ✔ β N/A
App Check App Check pub.dev badge 🔗 📖 firebase_app_check ✔ ✔ ✔ β N/A
Authentication Authentication pub.dev badge 🔗 📖 firebase_auth ✔ ✔ ✔ β (*)
Cloud Firestore Cloud Firestore pub.dev badge 🔗 📖 cloud_firestore ✔ ✔ ✔ β (*)
Cloud Functions Cloud Functions pub.dev badge 🔗 📖 cloud_functions ✔ ✔ ✔ β N/A
Cloud Messaging Cloud Messaging pub.dev badge 🔗 📖 firebase_messaging ✔ ✔ ✔ β N/A
Cloud Storage Cloud Storage pub.dev badge 🔗 📖 firebase_storage ✔ ✔ ✔ β (*)
Core Core pub.dev badge 🔗 📖 firebase_core ✔ ✔ ✔ β (*)
Crashlytics Crashlytics pub.dev badge 🔗 📖 firebase_crashlytics ✔ ✔ N/A β N/A
Data Connect Data Connect pub.dev badge 🔗 📖 firebase_data_connect ✔ ✔ ✔ N/A N/A
In-App Messaging In-App Messaging pub.dev badge 🔗 📖 firebase_in_app_messaging ✔ ✔ N/A N/A N/A
Installations Installations pub.dev badge 🔗 📖 firebase_app_installations ✔ ✔ ✔ β N/A
Performance Monitoring Performance Monitoring pub.dev badge 🔗 📖 firebase_performance ✔ ✔ ✔ N/A N/A
Realtime Database Realtime Database pub.dev badge 🔗 📖 firebase_database ✔ ✔ ✔ β N/A
Remote Config Remote Config pub.dev badge 🔗 📖 firebase_remote_config ✔ ✔ ✔ β N/A

(*) for development only. Production on Windows is not supported.

Preview Plugins

Name pub.dev Firebase Product Documentation View Source Android iOS Web MacOS
ML Model Downloader (deprecated) ML Model Downloader pub.dev badge 🔗 📖 firebase_ml_model_downloader ✔ ✔ N/A β

Issues

Please file FlutterFire specific issues, bugs, or feature requests in our issue tracker.

Plugin issues that are not specific to FlutterFire can be filed in the Flutter issue tracker.

Contributing

If you wish to contribute a change to any of the existing plugins in this repo, please review our contribution guide and open a pull request.

Categories

Dependencies

Dependency list 5 items

  • firebase_core^5.1.0
  • firebase_core_platform_interface^8.1.1
  • firebase_messaging_platform_interface^4.11.1
  • firebase_messaging_web^4.3.1
  • meta^1.8.0

Source repository

Projects using this package

Rankings