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

套件詳情v7.0.1

cloud_functions

一個允許您使用 Firebase Cloud Functions 的 Flutter 外掛程式。

AndroidiOSWebmacOS
近 30 天下載
75萬
喜歡數
513
Pub 分數
160

安裝套件

flutter pub add cloud_functions

套件介紹

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

cloud_functions 套件是一個 Flutter 插件,可實現與 Firebase Cloud Functions 的無縫整合,讓開發者能直接從其 Flutter 應用程式呼叫伺服器無關函數。它支援所有主要平台,包括 Android、iOS、Web 和 macOS,非常適合在不需管理伺服器的情況下執行後端邏輯。該套件提供簡單的 API,可用於傳入參數呼叫函數並接收回應,進而透過動態且可擴展的後端作業增強應用程式功能。

適用情境

  • 呼叫無伺服器後端邏輯
  • 在伺服器上處理資料
  • 透過自定義函數驗證使用者
  • 發送通知或電子郵件
  • 處理檔案上傳/下載
  • 執行複雜的業務邏輯

主要特色

  • 跨平台支援
  • 簡單函數呼叫 API
  • 安全的身分驗證整合
  • 即時回應處理
  • 具備詳細訊息的錯誤處理
  • 支援 HTTP 與 HTTPS 觸發器

適合對象

  • 使用 Firebase 的 Flutter 應用
  • 需要無伺服器後端功能的開發人員
  • 需要安全、可擴展後端處理的應用程式
  • 建構全端Flutter應用的團隊
  • 需要即時資料的專案

使用建議

  • 需要 Firebase 項目設定
  • 需要設定正確的安全規則
  • 在行動裝置上可能需要網路權限
  • 函數執行取決於 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.

所屬分類

依賴

依賴清單 4 項

  • cloud_functions_platform_interface^6.1.1
  • cloud_functions_web^5.1.15
  • firebase_core^5.1.0
  • firebase_core_platform_interface^8.1.1

原始碼儲存庫

使用此套件的專案

所在榜單