A shared counter model for the main app plus generated Android App Widget and iOS WidgetKit hosts. The repository contains no user-maintained Java, Kotlin, Swift, or Xcode project.
src/state.rspersists the shared count.src/extensions/widget.rspublishes a constrained snapshot with an app-opening link and+1action route.src/app.rshandleswidget-counter://counter/increment, updates storage, and republishes.tests/basic.rsinspects the exact snapshot throughTestRuntime.
cargo check --all-targets
cargo test
cargo ferry build android
# macOS only
cargo ferry build ios --simulatorHost tests validate the state contract, not .appex or widget-provider artifacts. Check repository status for artifact evidence. The Slint UI retains AboutSlint; choose and satisfy a current Slint license before distribution.