storePurchaseUpdates function
Drives purchase delivery for the signed-in account while the app is open.
Implementation
@riverpod
Stream<VerifiedPurchaseUpdate> storePurchaseUpdates(Ref ref) {
if (!ref.watch(storeAvailableProvider)) return const Stream.empty();
return ref.watch(commerceServiceProvider).verifiedUpdates();
}