Apply Gradle Play Publisher 3.13.0 to the Android target, target the
internal track with AUTO version codes, and add a tag-only CI job that
decodes the upload keystore and uploads with the service account JSON
from repository secrets.
Document the one-time service account and secret setup.
- compileSdk/targetSdk 36: Google Play rejects new apps below API 36 since
31 August 2026.
- Release signing from ANDROID_KEYSTORE_* environment variables or
local.properties; unsigned when no upload key is configured.
- versionCode/versionName overridable via VERSION_CODE/VERSION_NAME.
- scripts/build-release-aab.sh builds and verifies a signed AAB.
- CI installs platform 36 until the CI image is rebuilt.
- Document the internal-testing upload flow.
Playback:
- Persist the playhead in the playback snapshot and resume from it; restored
longform progress is no longer overwritten with 0 on first play.
- Previous compares elapsed playtime since the track start, so resuming at
1:00:00 and pressing previous goes back instead of restarting the book.
- Auto-advance no longer overwrites completed=true with false, longform PUTs
are serialized, and playing rows/search results resume saved positions.
- Pause cancels the 400 ms poll; seek errors are reported instead of crashing.
Sync and state:
- First-sync snapshots keep the first page revision; cached revisions are only
trusted for the same server/user.
- Refresh re-reads /me, merges local and server longform progress by timestamp,
replays newer local positions, and keeps cached longform after deltas.
- Logout cancels refresh jobs, suppresses late progress writes, clears after
playback teardown, and closes the HTTP client on release.
- Failed/racing mood opens clear the previous mood; stale responses cannot
replace a newer selection. Mood drafts survive background refreshes.
Downloads and storage:
- Stream downloads to a .part file and atomically rename on Android/desktop,
with a download-specific timeout and no whole-file buffering.
- Cache writes are best-effort and atomic; blocked/full web storage no longer
leaves the app on the splash screen or blocks playback.
- Artwork failures do not fail audio downloads; failed downloads refresh the
download index.
- Android queues sleep-timer commands before the controller connects.
UI:
- Music search is wired, debounced and kept separate from mood search.
- Player bar respects navigation-bar insets and hides music-only mood actions
for longform. Mood gradient handles Int.MIN_VALUE.
The web build resolves com.yarnpkg:yarn from GitHub during configuration. A
run failed after two minutes with a GitHub read timeout, even though nothing
in the commit touched the Wasm target.
Run kotlinNodeJsSetup and kotlinYarnSetup during the image warm-up so node and
yarn come from the Gradle cache in GRADLE_USER_HOME instead of a fresh GitHub
download. Bump the image to audiomanager-client-ci:3.
The production Wasm optimizer dominated the old run (about 10 of 13
minutes). Main/PR builds now produce the development Wasm bundle, while
the optimized bundle and desktop fat jar are built only for release tags.
Merge test and build into one job so a checkout and a Gradle run are not
repeated, and bake the Gradle dependency cache plus the Android SDK into
the CI image. Raise the version of the image to 2.
A shared Compose Multiplatform client for Android, desktop and web on the
native mood-first API.
- Bearer login with persisted, restorable sessions.
- Mood grid and full editor (create, settings, seeds, delete).
- Server-driven radio sessions with automatic started/completed/skipped
events and prefetching.
- Add to current mood or choose another mood from the player.
- Library search, original MP3 downloads, offline playback of downloads.
- Offline cache of moods, songs and the last sync revision.
- Platform audio: Media3 on Android, MP3SPI on desktop, HTML audio on web.
- Platform storage: filesystem on Android/desktop, localStorage on web.
- Desktop tests for API parsing, errors and cache persistence.
- Gitea CI image with Android SDK 35, build pipeline and tagged releases.