readest/apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/android
Huang Xin 6e2390fe5e
feat(metadata): search for book covers in app (#7290)
Add Google, Bing and DuckDuckGo image search from Edit Metadata, using the
book title and author. Allow device-local custom search engine templates.
Show the original engine page with explicit image selection, then require
app-owned confirmation before a native fetch so remote pages cannot silently
forge a cover selection. Stage the confirmed image through the existing
cover-save flow. Support desktop and mobile native browsers, with an external search
and file-import fallback on web.

Verification on origin/main 617db1aa3:
- Five affected frontend suites: 50 tests passed; pnpm lint passed.
- Rust formatting and CEF Clippy passed; 202 Rust library tests and four
  native bridge model tests passed.
- Regression for editing a search field beneath an overlapping notification
  failed before the fix (expected aria-pressed false, received true) and
  passes with the fix. Chooser regression failed with the old query input.
- Forged native browser results now wait for app-owned confirmation before
  fetching; confirmation and cancellation tests pass. Verified on Android
  that a forged result stops there, then fetch and Save pass after confirmation.
- Native CEF app: Bing cover selection/save/reload, DuckDuckGo native keyboard
  editing, custom engines and phone/dark/RTL/e-ink layouts exercised.
- Android 15 emulator, WebView 124: Bing query editing, iframe selection,
  confirmation, native download and persisted cover after app restart passed.
  DuckDuckGo input editing and selection passed; two proxy downloads timed out.
  Custom engine add/persist/launch/remove passed.
- Google presented a network challenge on Android; iOS was not built or run.
- Full unit suite is run by the pre-push hook and CI.

Fixes #6653
Reported by lifesucksdude101 on GitHub

Co-authored-by: Claude Code <noreply@anthropic.com>
2026-11-03 15:07:39 +01:00
..
src feat(metadata): search for book covers in app (#7290) 2026-11-03 15:07:39 +01:00
.gitignore refactor: rename plugin safari-auth to native-bridge (#749) 2025-03-29 07:27:18 +01:00
build.gradle.kts Support handwriting annotation (#6674) 2026-10-11 21:31:38 +02:00
proguard-boox.pro Support handwriting annotation (#6674) 2026-10-11 21:31:38 +02:00
proguard-rules.pro refactor: rename plugin safari-auth to native-bridge (#749) 2025-03-29 07:27:18 +01:00
README-pen.md Support handwriting annotation (#6674) 2026-10-11 21:31:38 +02:00
settings.gradle refactor: rename plugin safari-auth to native-bridge (#749) 2025-03-29 07:27:18 +01:00