init static method
- ProviderContainer container
Runs the initial update check.
Call once at app start, after Remote Config has been initialized. We intentionally do not listen to real-time Remote Config updates here to avoid interrupting the user's workflow mid-session.
Implementation
static Future<void> init(ProviderContainer container) async {
final config = await checkForUpdate();
container.read(updateConfigProvider.notifier).set(config);
}