Setup
Release control is on by default onceprovideLerix() 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
SetappControl: { 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