Skip to main content

app_info_flutter 2.0.0 copy "app_info_flutter: ^2.0.0" to clipboard
app_info_flutter: ^2.0.0 copied to clipboard

PlatformAndroid

A Flutter plugin to retrieve basic app information like name, package name, version, build number, and other app metadata.

2.0.0 #

  • BREAKING CHANGE: Upgraded build configuration to support modern Flutter's Built-in Kotlin specification (for compatibility with AGP 9.0+). Explicit Kotlin Gradle Plugin (KGP) declarations are removed.
  • Added getAppInfo() to retrieve all app metadata in a single method channel call, returning an AppInfoData instance to minimize serialization overhead.
  • Added getSignature() and getSignatures() to retrieve SHA-256 fingerprints of app signing certificates.
  • Added isPhysicalDevice() to check if the app is running on a physical device or emulator.
  • Added isStoreVersion() to check if the app was installed from a digital store.
  • Added getApkSize() to retrieve the size of the installation APK.
  • Added clearCache() to programmatically delete files in the app cache directory.
  • Updated example showcase app with Material 3 design and added demonstration widgets for all new features.

1.1.0 #

  • Added getFirstInstallTime() to retrieve app first installation time as DateTime.
  • Added getLastUpdateTime() to retrieve app last update time as DateTime.
  • Added getBuildType() to retrieve build type (debug, release, profile) as enum.
  • Added getInstallerPackageName() to retrieve installer package name.
  • Added getAppIcon() to retrieve app icon as Uint8List.
  • Added getAppSize() to retrieve total app size in bytes.
  • Added getCacheSize() to retrieve cache size in bytes.
  • Added getTargetSdkVersion() to retrieve target SDK version.
  • Added getMinSdkVersion() to retrieve minimum SDK version.
  • Added getGrantedPermissions() to retrieve list of granted permissions.
  • Added getDeclaredPermissions() to retrieve list of declared permissions.
  • Added BuildType enum for type-safe build type handling.
  • Improved timestamp methods to return DateTime objects instead of raw milliseconds.
  • Enhanced Android implementation with better permission and build type detection.

1.0.1 #

  • Added missing dartdoc comments to public APIs to improve pub.dev score.

1.0.0 #

  • Initial release.
  • Added getAppName to retrieve the application name.
  • Added getPackageName to retrieve the package identifier/bundle ID.
  • Added getVersion to retrieve the project version.
  • Added getBuildNumber to retrieve the build/version code.
0
likes
160
points
60
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin to retrieve basic app information like name, package name, version, build number, and other app metadata.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on app_info_flutter

Packages that implement app_info_flutter