1.1.2 (47): fix subscription purchase button fallback

Remove legacy CONSUMABLE fallback from monthlyProduct — when the
subscription fails to load, the UI now shows the retry state instead
of silently offering the legacy one-time product for purchase.
Legacy purchasers retain access via hasActiveSubscription() as before.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
alexandrev-tibco
2026-05-21 19:58:57 +02:00
parent 89b35dc4ae
commit d09e8a7bee
16 changed files with 25 additions and 37 deletions
+1 -7
View File
@@ -120,13 +120,7 @@ final class StoreManager: ObservableObject {
if let match = products.first(where: { $0.id == Self.monthlyProductId && $0.type == .autoRenewable }) {
return match
}
if let match = products.first(where: { $0.type == .autoRenewable }) {
return match
}
if let match = products.first(where: { $0.id == Self.legacyOneTimeProductId }) {
return match
}
return products.first
return products.first(where: { $0.type == .autoRenewable })
}
var debugProductIds: [String] { productIds }