Skip to main content
For what release control does and how to set rules in the dashboard, read Release control.

Setup

Release control is on by default once provideLerix() from Installation runs, with the built-in screens. Set release so update rules can compare versions:
app.config.ts

What users see

The same screens as in React: a maintenance overlay with Try again, a required update that reloads the page at most once every 5 minutes and then shows a Reload button, and a dismissible bar for optional or recommended updates.

Your own screens

Set appControl: { ui: false } and inject LerixAppControlService. Its state is a signal and state$ an observable of the same value: update, maintenance and sdk, each null when nothing applies (fields in The state).
release-gate.component.ts