adb_dart 1.1.0
adb_dart: ^1.1.0 copied to clipboard
A lightweight Dart client for interacting with Android devices through ADB (Android Debug Bridge). List devices, install APKs, read logcat, and more.
1.1.0 #
New Features #
- File System Management: Complete file system operations support
- List files and directories with detailed information (
listFiles) - Upload files from local filesystem to device (
uploadFile) - Download files from device to local filesystem (
downloadFile) - Create directories on device (
createDirectory) - Delete files and directories (
deleteFile) - Support for app-specific private directories using
run-as
- List files and directories with detailed information (
- Logging System: Customizable logging with
AdbLoggerinterfaceDefaultLoggerimplementation for console output- Custom logger support via constructor parameter
- Architecture Refactoring: Service-based architecture for better maintainability
AdbDeviceServicefor device managementAdbPackageServicefor package operationsAdbPropertyServicefor system propertiesAdbLogcatServicefor logcat operationsAdbFileSystemServicefor file system operations
New Models #
FileEntry: Represents files and directories with metadata (name, type, size, permissions, date, etc.)FileType: Enumeration for file types (file, directory, symlink, unknown)
New Exceptions #
AdbDeviceException: For device-related errorsAdbPackageException: For package management errorsAdbPropertyException: For property retrieval errorsAdbLogcatException: For logcat operation errorsAdbInstallationException: For APK installation failures
Breaking Changes #
- None - All existing APIs remain backward compatible
1.0.0 #
- Initial release of adb_dart
- List connected Android devices with detailed information
- Install APK files on devices
- Retrieve all installed third-party packages
- Access device system properties
- Stream logcat output with filtering options (by level and process ID)
- Clear logcat buffer
- Comprehensive error handling with custom exceptions