搜尋套件、儲存庫與 APP 分類

套件詳情v17.0.1

firebase_messaging

適用於 Firebase 云訊息傳遞的 Flutter 插件,一種跨平台訊息解決方案,可讓您在 Android 和 iOS 上可靠地傳遞訊息。

AndroidiOSWebmacOS
近 30 天下載
427萬
喜歡數
3950
Pub 分數
160

安裝套件

flutter pub add firebase_messaging

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

Firebase Messaging 是一個 Flutter 插件,可使用 Firebase Cloud Messaging 在 Android、iOS、Web 和 macOS 上實現訊息的可靠傳遞。它支援通知訊息和資料訊息,讓應用程式即使在關閉或背景執行時也能接收即時更新。該插件與 Firebase 服務無縫整合,並提供處理訊息接收、使用者權限和金鑰管理的工具。它非常適合發送推播通知、動態更新應用內容,並透過及時提醒提升使用者參與度。

適用情境

  • 向使用者發送推播通知
  • 提供即時應用更新
  • 透過針對性的訊息吸引使用者
  • 處理背景和前景訊息事件
  • 實現靜默資料訊息

主要特色

  • 跨平台支援(Android、iOS、Web、macOS)
  • 支援通知和資料訊息
  • 設備註冊的令牌管理
  • 背景和前景訊息處理
  • 與 Firebase 控制台整合

適合對象

  • 需要推播通知的應用
  • 使用 Firebase 生態系統的專案
  • 即時訊息功能
  • 用戶參與活動
  • 跨平台移動應用程式

使用建議

  • 需要 Firebase 項目設定
  • 需要在 iOS 上正確處理權限
  • Web 支援需要額外的設定
  • 背景訊息處理可能需要特定於平台的程式碼
  • 限制為 Firebase 雲訊息傳遞後端

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

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.

所屬分類

依賴

依賴清單 5 項

  • 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

原始碼儲存庫

使用此套件的專案

所在榜單