chessbaseLinux/claude/memory/android-app.md

23 lines
1.9 KiB
Markdown
Raw Normal View History

---
name: android-app
description: "Android viewer app (androidApp/): Kotlin+Compose over our Rust crates via UniFFI; Android 12+; view-only; two APKs; owner keeps the signing key"
metadata:
node_type: memory
type: project
originSessionId: 86c7ee93-82be-4380-9d11-393872d0bb51
modified: 2026-10-21T21:22:38.448Z
---
Started 2026-10-22. Decisions in docs/decisions.md §16; stack research docs/research/android-stack.md; UI spec docs/design/android-ui.md (owner: «просто, понятно, симпатично», think the design through).
- Kotlin + Jetpack Compose; Rust core (chess-core, chess-import, uci) through a thin UniFFI crate; cargo-ndk; code in androidApp/.
- View-only: databases (same formats as desktop, no Mega on phones — target ≤ ~1M games), game list, game with notation under the board, paging games. No move input/saving in v1.
- minSdk 31 (Android 12+). No iOS for now.
- Two APKs: with Stockfish + net inside, and without (engine downloaded on request); both on GitHub and the site.
- Stores later. Signing key: create it, give a copy to the owner, keep ours too — losing it means no updates.
- Tooling (2026-10-22): rustup targets aarch64/x86_64-linux-android, cargo-ndk 4.1.2, SDK cmdline-tools in ~/Android/Sdk; JDK via `sudo pacman -S jdk21-openjdk` (owner runs it).
Status 2026-10-22 night: 0.11.0 released (GitHub, both APKs, AUR PKGBUILD) and site deployed. Android has «Добавить папку» (folders scanned two levels; .cbh sets; grants kept while an entry or a pending Undo uses them, unused grants released at start). Testing: headless emulator preferred by the owner (no window). Open: board/piece choice, a real Android 12 device test, live TalkBack check.
**How to apply:** add androidApp/ and its workflow to the GitHub publish filter decisions before publishing; follow [[github-needs-approval]], [[use-review-agents]], [[no-workarounds]].