Matthias Nott
2026-07-05 f28cf788428c8ab4465e51c62b63fc038b8d2971
lib/services/purchase_service.dart
....@@ -58,6 +58,16 @@
5858 // rendering; restorePurchases() reconciles it with the platform stores.
5959 final prefs = await SharedPreferences.getInstance();
6060 _isPro = prefs.getBool(_kProCacheKey) ?? false;
61
+
62
+ // Screenshot / demo override: force free-tier rendering for store-listing
63
+ // captures. Build with: flutter run --dart-define=PAILOT_FORCE_FREE=true
64
+ const forceFree = bool.fromEnvironment('PAILOT_FORCE_FREE');
65
+ if (forceFree) {
66
+ _isPro = false;
67
+ await prefs.setBool(_kProCacheKey, false);
68
+ notifyListeners();
69
+ return;
70
+ }
6171 notifyListeners();
6272
6373 // If the platform IAP layer isn't available (sideloaded dev build, no