26 lines
3 KiB
Markdown
26 lines
3 KiB
Markdown
---
|
||
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]].
|
||
|
||
2026-10-23 (second machine): game report done (commit 1661e23, not pushed): shared crate crates/game-review (desktop report.rs + review model/cache/job moved there), mobile-api GameReview, Android ReviewSession/ReviewViews; spec android-ui.md §21–22. Reviewed by tester + designer agents. Open from QA: in-app dark theme leaves status-bar icons dark and nav bar light (pre-existing); desktop `review_next` wording «Перейти к следующей» could become «к следующему такому ходу».
|
||
|
||
2026-10-23: games from Lichess/Chess.com on Android (commit f6072cb, local, not pushed): shared crate crates/online-games (desktop online.rs core moved; desktop keeps Probe/ago/dir wrappers), mobile-api online.rs, Android OnlineDownloads/OnlineScreen, Source.Online in files/online/; INTERNET permission now in both builds. Owner decision: downloaded databases list newest first (Database.newest_first, Library.listed). Public test nicks used: mary, john, penguin, test (small). lintFullDebug has 4 pre-existing MissingPermission errors in EngineFiles (only lintLightDebug is the project check).
|