Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 821 Bytes

File metadata and controls

8 lines (5 loc) · 821 Bytes

Kill Switch

The kill switch feature is for when you want to temporarily lock the user out of the app. This could be used for example when the server is down for some time, to avoid the users getting a ton of errors and getting reports from those users.

To trigger the kill switch, we suscribe to the KillSwitchActivationChanged event from the KillSwitchService in the CoreStartup.

If the kill switch is activated, the user is brought to the KillSwitchPage where he can see a message that tells him the app is currently unavailable. If the kill switch is deactivated afterwards, the user is brought back to the initial navigation flow, which means he will be in the login page if he is not connected and to the home page if he is connected.