diff --git a/lib/app.dart b/lib/app.dart index 10cf9b2..c7dbcf7 100644 --- a/lib/app.dart +++ b/lib/app.dart @@ -19,6 +19,10 @@ class _BlockSeasonsAppState extends ConsumerState { super.initState(); WidgetsBinding.instance.addPostFrameCallback((_) { ref.read(consentServiceProvider).ensureConsentAndInitialize(); + // Eagerly start the IAP service so its purchase stream is live for the + // whole session — restores and interrupted/deferred transactions are + // delivered (and completed) even if the player never opens Settings. + ref.read(iapServiceProvider); }); }