Add specific flag to assume full version in beta
To skip in-app testing.
This commit is contained in:
parent
c938023483
commit
0b23f011c4
|
@ -36,6 +36,8 @@ extension AppConstants {
|
|||
#endif
|
||||
}
|
||||
|
||||
static var isBetaFullVersion = false
|
||||
|
||||
static var isMockVPN = false {
|
||||
didSet {
|
||||
VPN.isMockVPN = isMockVPN
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue