[ui] PlanetGarden: Bring main (four versions through Tauri) into the branch; the app check passes the gardener and opens the ring
This commit is contained in:
+20
@@ -126,6 +126,19 @@ Rewritten at the end of each session (CLAUDE.md §5.1).
|
||||
real touch on the Android tablet (`pnpm test:android`, 7 of 7). Analysis:
|
||||
[`.agents/features/planet-garden.md`](.agents/features/planet-garden.md). Review:
|
||||
[`.agents/reviews/feature-planet-garden.md`](.agents/reviews/feature-planet-garden.md).
|
||||
- **Four versions, one garden (2026-11-17):** merged to `main`, as the author decided: the PWA plus
|
||||
an Android, iOS and desktop app from one codebase through a Tauri 2 shell, `apps/rosea-tauri`
|
||||
(CLAUDE.md §2 *Four versions*, §3, §4, §8; ROADMAP *The platform track*). The **Windows app**
|
||||
(`pnpm tauri:build`) and an **Android debug APK** (`pnpm tauri:android`) were built here; both
|
||||
passed the garden check (watered, closed, reopened, still watered; nothing outside the origin).
|
||||
The APK asks for no permission, not even `INTERNET`, and allows no backup (checked on the APK and
|
||||
on the tablet). **iOS needs a Mac** (G-T1). **No app goes to a player yet:** inside the apps
|
||||
*Keep her safe* speaks of *this browser*, and on Android saving to a file does nothing (G-T4,
|
||||
a release blocker). The debug APK and installer are build output on this machine, not committed:
|
||||
`apps/rosea-tauri/src-tauri/gen/android/app/build/outputs/apk/universal/debug/` and
|
||||
`apps/rosea-tauri/src-tauri/target/release/bundle/nsis/`. Analysis:
|
||||
[`.agents/features/tauri-platforms.md`](.agents/features/tauri-platforms.md). Review:
|
||||
[`.agents/reviews/feature-tauri-platforms.md`](.agents/reviews/feature-tauri-platforms.md).
|
||||
- **Phase 1 is built in code.** What remains of it is the author's: verified sentences (the petal
|
||||
appears with them), hosting (G0.13), and the gate itself — two weeks of daily play on a phone.
|
||||
|
||||
@@ -158,6 +171,9 @@ The notification decision is made: in-app only on the web (G0.26).
|
||||
`packages/engine/src/rose/rose.ts`): how fast she gets thirsty, how often weeds, petals and wind
|
||||
come, and how many days of care each stage takes (full bloom after 25). Play it for a week,
|
||||
then say what feels wrong.
|
||||
7. **The apps:** a Mac with Xcode and an Apple developer account for iOS (G-T1); whether the
|
||||
desktop window (480 × 800, portrait) should be wider; the release signing keys, kept outside
|
||||
the repository (G-T3).
|
||||
|
||||
**How this machine works** (not in the code):
|
||||
|
||||
@@ -173,6 +189,10 @@ The notification decision is made: in-app only on the web (G0.26).
|
||||
`pnpm test:android` with `ROSEA_ADB=F:\Tools\Android\Sdk\platform-tools\adb.exe` and
|
||||
`ROSEA_ANDROID_SERIAL=WAVE10CEEA036785`, while `vite preview` serves the build on 127.0.0.1:4173;
|
||||
it stops Chrome and removes its mappings itself, even when it fails.
|
||||
Its USB link drops now and then (`device offline`); `e2e/apps/check-garden.ts` waits and retries.
|
||||
- **Building the apps:** Rust 1.99 (MSVC) with the four Android targets, JDK 17, the Android SDK at
|
||||
`F:\Tools\Android\Sdk` (NDK 27.1), VS 2022 Build Tools, WebView2 and NSIS are all installed; a
|
||||
cold desktop release build takes about 6 minutes, an Android debug build about 2 after that.
|
||||
|
||||
- **Commit identity:** `mnovak <giteatruenasadminacc.from729@passmail.net>`, set in
|
||||
this repository only.
|
||||
|
||||
Reference in New Issue
Block a user