Auto-update banner

Update specs/koder-app/behaviors.kmd

Step diagram

  1. Update channel polls in background

    App

    App calls the configured update channel periodically; default ON for Koder products.

  2. Silent download to staging dir

    App

    If a newer release is available, the SDK downloads the platform-native package to a staging directory without interrupting the user.

  3. Banner appears

    User

    When the download finishes, KoderUpdateBanner surfaces non-blocking at the top of the active screen.

  4. User taps Restart

    App

    App swaps to the staged release and re-launches preserving session state where possible.

  5. Resume

    User

    Same screen, new code. Auth context, navigation stack, and form drafts are preserved when the SDK supports it.

Common pitfalls