You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Android app currently hashes the whole legacy bots.avatar string as a seed and ignores its silhouette and color choices. crumble-project/bot#109 adopts open-bot-avatar, but deliberately leaves native rendering out of scope. Until this follow-up is implemented, the app keeps its current seeded look rather than displaying the owner's selected definition and colors.
Proposal
Render the validated avatar definition and body/eye colors returned by the API using native drawing APIs, without requiring the JavaScript package. A definition contains one SVG path in a 0 0 100 100 coordinate space plus eye placement.
Dependency: implementation depends on #109's API format being merged. Consume its final additive API contract; do not invent a separate native format or reinterpret the legacy avatar string as JSON.
Acceptance criteria
All bot-avatar surfaces in the Android app render the API-provided path, eye placement, body color, and eye color consistently with the web app.
Idle maps to idle; working maps to thinking. Sleeping is dimmed idle with closed eyes where supported, otherwise a static still, matching the web behavior.
The platform's reduced-motion setting is respected; nonessential animation is disabled while bot state remains distinguishable.
When no usable definition is available, including older-server responses, the app falls back to its current seeded look without blank avatars or crashes.
Tests cover definition and color rendering, idle/working/sleeping states, reduced motion, and missing/invalid-definition fallback.
Rendering is verified on Android.
Legacy expressions and gestures are not required for this follow-up.
Implemented in #8: avatars render through open-bot-avatar-kt 0.1.0, with the avatar editor (colors, gallery, JSON import, generation prompt) and an Avatars page previewing idle, working and sleeping. Confirmed done by the owner.
Activity
crumblebot commentedon Nov 7, 2026
Implemented in #8: avatars render through
open-bot-avatar-kt0.1.0, with the avatar editor (colors, gallery, JSON import, generation prompt) and an Avatars page previewing idle, working and sleeping. Confirmed done by the owner.