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

插件详情v5.1.0

firebase_core

Firebase Core 的 Flutter 插件,支持连接到多个 Firebase 应用。

AndroidiOSWebmacOSWindows
近 30 天下载
590万
喜欢数
4080
Pub 分数
160

安装插件

flutter pub add firebase_core

插件介绍

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

Firebase Core 是一个 Flutter 插件,为在多个平台上连接 Firebase 服务提供基础支持。它可实现与 Firebase 应用的无缝集成,使开发者能够在单个应用中初始化和管理多个 Firebase 实例。该包负责处理核心设置任务,如身份验证、配置和初始化,是 FlutterFire 生态系统中其他 Firebase 插件的基础。它支持 Android、iOS、Web、macOS 和 Windows,确保跨平台的一致性。

适合场景

  • 连接到多个 Firebase 项目
  • 在跨平台应用中初始化 Firebase
  • 管理 Firebase 应用实例
  • 启用 Firebase 服务,如 Firestore 和 Auth
  • 将 Firebase 集成到现有的 Flutter 应用程序中

主要特点

  • 支持多个 Firebase 应用实例
  • 跨平台兼容性
  • 简化 Firebase 初始化
  • 与 FlutterFire 插件的集成
  • 自动配置处理

适合对象

  • 使用 Firebase 的 Flutter 开发人员
  • 需要多个 Firebase 项目的应用程序
  • 跨平台移动和网页应用
  • 构建可扩展的 Firebase 支持的应用程序的团队
  • 需要集中化 Firebase 管理的项目

使用建议

  • 需要额外的 Firebase 插件以启用特定功能
  • 需要在 Firebase 控制台中进行正确配置
  • 可能需要特定平台的设置步骤
  • 依赖于 FlutterFire 生态系统
  • 缺少配套软件包则功能受限

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

所属分类

依赖

依赖清单 3 项

  • firebase_core_platform_interface^8.1.1
  • firebase_core_web^4.1.0
  • meta^1.8.0

源码仓库

使用此插件的项目

所在榜单