What the user sees
- Your title and message, in English or Arabic depending on the device language.
- Expected back at followed by the end time in the device’s own time zone, unless you turn it off.
- A Try again button that checks again right away.
Start a maintenance window
1
Open the dialog
Click Maintenance mode on the Emergency tab. The dialog Turn
on maintenance mode opens.
2
Who sees it
Pick the scope (see Scope). Leave a field empty to include
everyone.
3
Screen
Title and message in English and Arabic, and whether to Show “Expected
back at …” on the screen.
4
When
Start now, or Schedule a start time up to 30 days ahead. Choose
when it ends (1 hour to 7 days, see Automatic end).
5
Allow-list (optional)
Let your team through, or test the screen on your own devices first (see
Allow-list and test mode).
6
Confirm
Review who will be locked out, give a reason (3 to 500 characters), type
the project slug, and click Turn on maintenance or Schedule
maintenance.
Scope
With both version fields empty, every version matches, including devices
that didn’t report one. When either is set, a device without a version
doesn’t match.
The scope can’t be changed once the window exists. To change it, end the
window and start a new one.
Scheduling
A scheduled window shows as Scheduled under Active and scheduled, with a countdown, and starts by itself at its start time. Devices learn about it up to 24 hours before it starts and keep it to themselves until then, so it begins on time even on a device that has gone offline in the meantime. Cancel removes a scheduled window before it starts.Automatic end
Every window has an end time, so a forgotten window can’t lock users out for good.- By default it ends 24 hours after it starts.
- You can set it up to 7 days after the start.
- A device that saved the window ends it on its own at the end time, even with no network.
Allow-list and test mode
The Allow-list holds the people and devices the window treats differently, one ID per line:- External user IDs: the IDs you pass to
setUser(see Identify users). - Install IDs: single installations of your app, such as your test phones.
- Lerix user IDs: the IDs Lerix gives each registered device.
Go live
When the test looks right, click Go live on the window. Test mode turns off and every device in scope sees the maintenance screen within a minute. You can also edit the copy, the expected end time and the allow-list of a running window.End a window
- End now ends one window. Devices drop the screen at their next check, which is within about a minute for apps in the foreground.
- A window also ends by itself at its end time.
Lift all
Lift all is the undo button for when something went wrong and users must get back into the app now. One click:- ends every scheduled and active maintenance window, and
- turns off every forced-update rule (a minimum version or build, a blocked version, or a deadline).
How fast devices react
When you start, change or end a window, or use Lift all:- Lerix sends a silent push to every device of the project that has a Lerix push token, at most once a minute. Apps in the background refresh without showing anything to the user. A scheduled window starting or ending by itself sends the push too.
- For the next 30 minutes, apps in the foreground check every minute.
- While a window applies to a device, or starts within the hour, that device keeps checking every minute.
Propagation meter
Propagation, on the Emergency tab, shows how many devices have picked up your latest change, for example “1,830 of 2,240 active devices have the latest config (82%)”.- Active devices are those seen, or that checked release control, in the last 24 hours.
- A device counts as updated once it has fetched the configuration after your last change.
- Only devices that identify their user to Lerix are counted.