Skip to content

Commit 88c54bf

Browse files
committed
docs(mobile-client): add information about automatic status re-checks
- Include details about AppStatusService and its background configuration fetching - Explain the behavior of silent checks and status page transitions - Highlight the near real-time reaction to server-side changes
1 parent 656f72d commit 88c54bf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/content/docs/mobile-client/architecture/routing.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ This flow handles users who already have an active session.
4040

4141
This two-path system correctly prioritizes authentication and then uses that session to securely fetch critical app configuration.
4242

43+
<Aside title="Automatic Status Re-checks" icon="sync">
44+
The application includes an `AppStatusService` that automatically re-fetches the remote configuration in the background. This service triggers a check when the app is resumed from the background or at a periodic interval (e.g., every 15 minutes).
45+
46+
These background fetches are "silent" (`isBackgroundCheck: true`), meaning they do not show a loading screen. If the new configuration indicates a critical status (like maintenance mode), the app will immediately transition to the appropriate status page. This ensures the app can react to server-side changes in near real-time without disrupting the user unless absolutely necessary.
47+
</Aside>
48+
4349
## GoRouter Implementation Details
4450

4551
Once the startup flow is complete and the router is active, `go_router` manages all in-app navigation.

0 commit comments

Comments
 (0)