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

插件详情v0.5.1

firebase_app_installations

一个允许您使用 Firebase 安装的 Flutter 插件。

AndroidiOSmacOS
近 30 天下载
11.3万
喜欢数
33
Pub 分数
160

安装插件

flutter pub add firebase_app_installations

插件介绍

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

firebase_app_installations 包是一个 Flutter 插件,可实现与 Firebase Installations 的集成,使应用能够管理并检索设备的唯一安装标识符。这些标识符对于 Firebase 服务(如 Firebase Cloud Messaging (FCM) 和 Firebase Remote Config)至关重要,可实现定向消息传递和配置分发。该插件会自动处理安装令牌的生命周期,确保在应用重启和更新后仍能可靠访问。它支持 Android、iOS 和 macOS 平台,在 Firebase 生态系统中提供一致的接口来管理设备安装。

适合场景

  • 通过 FCM 发送定向通知
  • 按设备获取远程配置
  • 跨设备跟踪应用安装
  • 启用设备特定分析
  • 管理推送通知订阅

主要特点

  • 自动令牌管理
  • 跨平台支持(Android、iOS、macOS)
  • 与 Firebase 服务的无缝集成
  • 安全的安装ID生成
  • 实时令牌刷新

适合对象

  • 使用 Firebase 云消息传递的应用程序
  • 需要设备级别定位的项目
  • 远程配置实现
  • 分析和用户参与度跟踪
  • 需要安全设备识别的移动应用

使用建议

  • 需要 Firebase 项目设置
  • 依赖于其他 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 项

  • firebase_app_installations_platform_interface^0.1.7
  • firebase_app_installations_web^0.1.9+15
  • firebase_core^5.1.0
  • firebase_core_platform_interface^8.1.1

源码仓库

使用此插件的项目

所在榜单