|
|
|
@ -172,6 +172,10 @@ import Combine |
|
|
|
if let plan = PListReader.readString(plist: "local", key: "plan"), !plan.isEmpty { |
|
|
|
if let plan = PListReader.readString(plist: "local", key: "plan"), !plan.isEmpty { |
|
|
|
return StoreItem(rawValue: plan) |
|
|
|
return StoreItem(rawValue: plan) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if let currentBestPurchase = self.currentBestPurchase, let plan = StoreItem(rawValue: currentBestPurchase.productId) { |
|
|
|
|
|
|
|
return plan |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#elseif TESTFLIGHT |
|
|
|
#elseif TESTFLIGHT |
|
|
|
return .monthlyUnlimited |
|
|
|
return .monthlyUnlimited |
|
|
|
#elseif PRODTEST |
|
|
|
#elseif PRODTEST |
|
|
|
|