app_info_flutter 2.0.0
app_info_flutter: ^2.0.0 copied to clipboard
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 anAppInfoDatainstance to minimize serialization overhead. - Added
getSignature()andgetSignatures()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
BuildTypeenum 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
getAppNameto retrieve the application name. - Added
getPackageNameto retrieve the package identifier/bundle ID. - Added
getVersionto retrieve the project version. - Added
getBuildNumberto retrieve the build/version code.