- Mix in WidgetsBindingObserver to detect foreground/background transitions - On resumed: run a silent version check (no dialog) and only show the update dialog if a new version is actually available - Throttle resume checks to once per 2 minutes to avoid excessive API calls - Once the update dialog has been shown, skip further checks for the rest of the session; user won't be re-prompted until next cold start Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| i18n | ||
| theme | ||
| main_shell.dart | ||