From 98e5695f9c77c594a103e9e81128798d41bae46a Mon Sep 17 00:00:00 2001
From: Matthias Nott <mnott@mnsoft.org>
Date: Wed, 01 Apr 2026 18:52:33 +0200
Subject: [PATCH] feat: StoreKit 2 IAP — free tier with 2 sessions and 15min message TTL

---
 lib/providers/providers.dart |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/lib/providers/providers.dart b/lib/providers/providers.dart
index 6393124..49022c4 100644
--- a/lib/providers/providers.dart
+++ b/lib/providers/providers.dart
@@ -211,3 +211,9 @@
 // ChatScreen sets this when MQTT is initialized; NavigateScreen reads it.
 // Using a Riverpod provider eliminates the stale static reference risk.
 final navigateNotifierProvider = StateProvider<NavigateNotifier?>((ref) => null);
+
+// --- Pro / Purchase Status ---
+
+/// Whether the user has purchased PAILot Pro (full access).
+/// Updated by PurchaseService after StoreKit verification.
+final isProProvider = StateProvider<bool>((ref) => false);

--
Gitblit v1.3.1