A match-state transport example with start, score updates, and end. One constrained snapshot feeds iOS Lock Screen/Dynamic Island generation; ferry.toml selects the Android ongoing-notification fallback.
src/state.rsseparates immutable match attributes from mutable score state.src/extensions/live_activity.rsmaps that state to title, status, progress, compact leading/trailing text, and an app route.src/app.rsrequests notification permission from an explicit button, then retains the platform activity ID across start/update/end callbacks. Android 13 and newer require that permission for the ongoing-notification fallback.tests/basic.rsinspects every state transition withTestRuntime.
cargo check --all-targets
cargo test
cargo ferry build android
# macOS only
cargo ferry build ios --simulatorHost tests do not prove ActivityKit, Dynamic Island, or Android notification artifacts. Check repository status for artifact evidence. The Slint UI retains AboutSlint; choose and satisfy a current Slint license before distribution.