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

插件详情v10.2.2

package_info_plus

Flutter 插件,用于查询应用程序包的信息,例如 iOS 上的 CFBundleVersion 或 Android 上的 versionCode。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
737万
喜欢数
2810
Pub 分数
150

安装插件

flutter pub add package_info_plus

插件介绍

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

PackageInfoPlus 是一个 Flutter 插件,可让应用程序在多个平台上获取关键的包信息,例如版本名称、版本代码、构建编号和捆绑标识符。它在 Android、iOS、Web、macOS、Windows 和 Linux 上提供对应用元数据的一致访问,非常适合用于调试、分析和版本跟踪。该插件由 Flutter Community 维护,并支持现代 Flutter 开发工作流程。

适合场景

  • 获取应用版本以检查更新
  • 在设置中显示版本信息
  • 用于调试的构建追踪应用程序
  • 与分析服务集成
  • 支持多平台应用元数据访问

主要特点

  • 跨平台兼容性
  • 版本和构建信息的简单 API
  • 支持 iOS、Android、Web、macOS、Windows 和 Linux
  • 由 Flutter Community 维护
  • 通过 pub.dev 实现轻松集成

适合对象

  • 开发跨平台 Flutter 应用的开发者
  • 需要版本跟踪的应用程序
  • 调试和日志功能
  • 分析和崩溃报告集成
  • 使用 Flutter Community 插件的团队

使用建议

  • 某些功能需要平台特定的配置
  • 仅限基本包元数据
  • 无运行时版本信息更新
  • 取决于正确的清单/配置设置
  • 不适合复杂的应用元数据需求

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

Plus plugins

build

all_plugins GitHub Workflow Status Follow on Twitter


PlusPlugins is a set of Flutter plugins that is developed based on plugins, which previously existed as a part of Flutter plugins, with extra functionalities, support for more platforms and better maintenance.

Feedback and Pull Requests are most welcome!

Plugins

Table of contents:


battery_plus

battery_plus pub points

Flutter plugin for accessing information about the battery state (full, charging, discharging) on Android and iOS.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

connectivity_plus

connectivity_plus pub points

Flutter plugin for discovering the state of the network (WiFi & mobile/cellular) connectivity on Android and iOS.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

device_info_plus

device_info_plus pub points

Flutter plugin providing detailed information about the device (make, model, etc.), and Android or iOS version the app is running on.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

network_info_plus

network_info_plus pub points

Flutter plugin for discovering network info.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ❌ ✅ ✅

package_info_plus

package_info_plus pub points

Flutter plugin for querying information about the application package, such as CFBundleVersion on iOS or versionCode on Android.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

sensors_plus

sensors_plus pub points

Flutter plugin for accessing accelerometer, gyroscope, magnetometer and barometer sensors.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ❌ ✅ ❌ ❌

share_plus

share_plus pub points

Flutter plugin for sharing content via the platform share UI, using the ACTION_SEND intent on Android and UIActivityViewController on iOS.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

android_alarm_manager_plus

android_alarm_manager_plus pub points

Flutter plugin for accessing the Android AlarmManager service, and running Dart code in the background when alarms fire.

[readme] [code]

Platform Support
Android
✅

android_intent_plus

android_intent_plus pub points

Flutter plugin for launching Android Intents. Not supported on iOS.

[readme] [code]

Platform Support
Android
✅

Issues

Please file PlusPlugins specific issues, bugs, or feature requests in our issue tracker.

Plugin issues that are not specific to PlusPlugins 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.

Status

This repository is maintained by FlutterCommunity authors. Issues here are answered by maintainers and other community members on GitHub on a best-effort basis.

所属分类

依赖

依赖清单 8 项

源码仓库

使用此插件的项目

所在榜单