refactor: split Android platform module into focused submodules
Merged
TH
8mo ago+1606+1606+0123456789012345678901234567890123456789-1532-1532-0123456789012345678901234567890123456789
Summary
- Splits
src/platforms/android/index.ts(~1533 LOC) into 7 focused submodules + thin re-export layer adb.ts(21 LOC) — shared helpers used across modulesapp-lifecycle.ts(507 LOC) — app resolve/list/open/close/install/reinstall/appstate + bundletoolinput-actions.ts(378 LOC) — press/swipe/longPress/type/fill/scroll/scrollIntoViewdevice-input-state.ts(184 LOC) — keyboard state/dismiss + clipboard read/writesettings.ts(314 LOC) — appearance/permission/fingerprint/wifi/airplane/locationnotifications.ts(61 LOC) — push notification broadcastsnapshot.ts(98 LOC) — snapshot + screenshot + UI hierarchy dumpindex.ts(43 LOC) — re-exports preserving all public exports
No behavior changes. All existing consumers import via index.ts and are unaffected.
app-lifecycle.ts slightly exceeds 500 LOC due to tightly coupled bundletool integration.
Closes #154
Validation
pnpm typecheck— passpnpm test:unit— all tests pass (0 failures)pnpm test:smoke— all 7 tests pass
🤖 Generated with Claude Code