搜索插件、代码仓与 APP 分类

插件详情v7.1.0

cloud_firestore

适用于 Android 和 iOS 的 Cloud Firestore Flutter 插件,一个托管在云端的 NoSQL 数据库,支持实时同步和离线功能。

AndroidiOSWebmacOSWindows
近 30 天下载
165万
喜欢数
3780
Pub 分数
150

安装插件

flutter pub add cloud_firestore

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

Cloud Firestore 是一种可扩展的云托管 NoSQL 数据库,专为移动和 Web 应用程序设计。它提供跨客户端的实时数据同步、离线持久化以及与 Firebase 的无缝集成。专为 Flutter 构建,它使开发者能够以最少的设置存储、检索和监听数据变化。该插件支持 Android、iOS、Web、macOS 和 Windows,非常适合需要响应式、实时更新数据的跨平台应用。凭借强大的安全规则和灵活的查询功能,Cloud Firestore 简化了后端开发。

适合场景

  • 实时聊天应用
  • 实时仪表板和分析
  • 离线优先的移动应用
  • 用户配置文件管理
  • 协作文档编辑

主要特点

  • 实时数据同步
  • 离线数据持久化
  • 跨平台支持
  • 灵活的基于文档的数据模型
  • 通过 Firebase Authentication 实现安全访问

适合对象

  • 需要实时更新的应用程序
  • 使用 Firebase 生态系统的开发人员
  • 跨平台移动和Web项目
  • 需要离线功能的应用程序

使用建议

  • 需要 Firebase 项目设置
  • 数据大小和读写成本可能适用
  • 复杂查询可能会影响性能
  • 安全规则必须仔细配置
  • NoSQL数据建模的学习曲线

原始 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.

所属分类

依赖

依赖清单 6 项

源码仓库

使用此插件的项目

所在榜单