diff --git a/Passepartout-iOS/Global/AppConstants+Flags.swift b/Passepartout-iOS/Global/AppConstants+Flags.swift index 2ceedb40..0c6ff5ed 100644 --- a/Passepartout-iOS/Global/AppConstants+Flags.swift +++ b/Passepartout-iOS/Global/AppConstants+Flags.swift @@ -36,6 +36,8 @@ extension AppConstants { #endif } + static var isBetaFullVersion = false + static var isMockVPN = false { didSet { VPN.isMockVPN = isMockVPN diff --git a/Passepartout-iOS/Global/ProductManager.swift b/Passepartout-iOS/Global/ProductManager.swift index 22112c54..5f862de3 100644 --- a/Passepartout-iOS/Global/ProductManager.swift +++ b/Passepartout-iOS/Global/ProductManager.swift @@ -140,7 +140,7 @@ class ProductManager: NSObject { } func isFullVersion() -> Bool { - guard !AppConstants.Flags.isBeta else { + if AppConstants.Flags.isBeta && AppConstants.Flags.isBetaFullVersion { return true } return purchasedFeatures.contains(.fullVersion)