adb_utils 0.3.2 copy "adb_utils: ^0.3.2" to clipboard
adb_utils: ^0.3.2 copied to clipboard

A Dart library for interacting with ADB (Android Debug Bridge) server and devices.

0.3.2 #

  • chore: apply dart format across project files required by CI/release workflow.

0.3.1 #

  • feat(ui_hierarchy): added typed UI hierarchy model and package export.
    • Added UiHierarchy, UiNode, and Bounds in lib/src/models/ui_hierarchy.dart.
    • Exported ui_hierarchy.dart from the main barrel (adb_utils.dart).
  • feat(phantom): added dumpWindowHierarchy() to parse XML directly into UiHierarchy.
  • security: hardened shell/socket surfaces.
    • Added package-name validation in appInfo() and uninstall().
    • Added URL validation/sanitization in openBrowser().
    • Added Phantom socket connect/response timeouts, response size cap, empty-response check, and strict port-range validation.
  • test: added security-focused tests and hierarchy parsing coverage.
  • docs: updated README with Phantom + UiHierarchy usage.

0.3.0 #

  • feat(phantom): added PhantomClient to orchestrate UiAutomator agent lifecycle and TCP communication.
    • Added startAgent(targetApkPath, agentApkPath) with APK push, install, force-stop, background instrumentation start, and port forwarding.
    • Added JSON socket communication flow with robust chunked response handling.
    • Added dumpWindow() and clickByText() high-level actions.
  • test(phantom): added focused unit tests for startAgent, JSON payload exchange, dumpWindow(), and clickByText().
  • chore(phantom): added bundled APK artifacts for the phantom flow:
    • lib/src/phantom/apks/agent.apk
    • lib/src/phantom/apks/target.apk

0.2.2 #

  • feat(adb_sync): fully implemented file transfer operations via the ADB SYNC protocol.
    • Added pull(): download files using memory-efficient streaming.
    • Added readBytes() and readText(): read remote file contents directly into memory.
    • Added stat(): query remote file size, mode, and modification time.

0.1.3 #

  • fix: apply dart format to app_info.dart and adb_utils_test.dart

0.1.2 #

  • added AppInfo.fromDumpsys to get more detailed information about the app, such as version and permissions. This is useful for users who want to know more about the apps installed on their devices.
  • added AdbDevice.appInfo to retrieve the AppInfo for a given package name.
3
likes
0
points
355
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart library for interacting with ADB (Android Debug Bridge) server and devices.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

path, xml

More

Packages that depend on adb_utils