flutter_device_apps_android 0.1.2
flutter_device_apps_android: ^0.1.2 copied to clipboard
Android implementation of flutter_device_apps (federated plugin).
0.1.2 #
- Added
openAppSettings
implementation usingSettings.ACTION_APPLICATION_DETAILS_SETTINGS
- Added
uninstallApp
implementation usingIntent.ACTION_UNINSTALL_PACKAGE
with fallback toACTION_DELETE
- Added
getInstallerStore
implementation usingPackageManager.getInstallerPackageName()
- Improved error handling with specific error codes (ERR_OPEN_SETTINGS, ERR_UNINSTALL, ERR_INSTALLER)
- Added proper Android Intent.ACTION mapping for package events:
ACTION_PACKAGE_ADDED
→ installedACTION_PACKAGE_REMOVED
→ removedACTION_PACKAGE_CHANGED
/ACTION_PACKAGE_REPLACED
→ updatedACTION_PACKAGE_FULLY_REMOVED
→ removed
- Added support for
Intent.EXTRA_REPLACING
to distinguish updates from uninstalls - Improved broadcast receiver with proper IntentFilter setup
- Added coroutine-based async operations for better performance
- Removed unused
enabled
/disabled
event types that were never implemented
0.1.0 #
- First public Android implementation for
flutter_device_apps
- Adds listApps, getApp, openApp, and appChanges (EventChannel)