Add Android autofill chooser and learned app binding #7

Merged
joejulian merged 11 commits from feature/android-autofill-chooser into main 2026-04-20 00:03:02 +00:00
Owner

Summary

  • add an Android autofill chooser activity so no-match app autofill requests can still search KeePassGO
  • remember explicit androidapp:// package bindings after the user picks an entry so later fills resolve directly
  • keep APK packaging repo-owned by patching upstream gogio at build time so Android snippets and helper jars make it into the APK without vendoring a fork

Testing

  • go test ./internal/autofillcache
  • KEEPASSGO_STATE_DIR=$(mktemp -d) go test ./...
  • go tool golangci-lint run ./...
  • JAVA_HOME=/usr/lib/jvm/java-26-openjdk make apk
  • emulator validation: installed rebuilt APK, set KeePassGO as the secure autofill_service, and launched KeePassGOAutofillPickerActivity successfully on KeepassGoAPI35

Notes

  • The packaged manifest now includes KeePassGOAutofillService, KeePassGOAutofillPickerActivity, the accessibility service, and the shared-vault import/provider components.
  • The picker rendered its search UI and empty-state correctly against the emulator's current autofill cache contents.
  • I did not complete a full app-selection-and-persisted-rebind loop because the emulator's current KeePassGO sandbox cache did not contain candidate entries for Samsung Health.
## Summary - add an Android autofill chooser activity so no-match app autofill requests can still search KeePassGO - remember explicit androidapp:// package bindings after the user picks an entry so later fills resolve directly - keep APK packaging repo-owned by patching upstream gogio at build time so Android snippets and helper jars make it into the APK without vendoring a fork ## Testing - go test ./internal/autofillcache - KEEPASSGO_STATE_DIR=$(mktemp -d) go test ./... - go tool golangci-lint run ./... - JAVA_HOME=/usr/lib/jvm/java-26-openjdk make apk - emulator validation: installed rebuilt APK, set KeePassGO as the secure autofill_service, and launched KeePassGOAutofillPickerActivity successfully on KeepassGoAPI35 ## Notes - The packaged manifest now includes KeePassGOAutofillService, KeePassGOAutofillPickerActivity, the accessibility service, and the shared-vault import/provider components. - The picker rendered its search UI and empty-state correctly against the emulator's current autofill cache contents. - I did not complete a full app-selection-and-persisted-rebind loop because the emulator's current KeePassGO sandbox cache did not contain candidate entries for Samsung Health.
joejulian added 4 commits 2026-04-14 05:03:25 +00:00
joejulian added 3 commits 2026-04-17 03:50:32 +00:00
joejulian added 2 commits 2026-04-17 04:33:57 +00:00
joejulian added 1 commit 2026-04-19 05:01:25 +00:00
joejulian added 1 commit 2026-04-19 05:16:42 +00:00
joejulian merged commit 7b06388712 into main 2026-04-20 00:03:02 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: joejulian/keepassgo#7