Free premium temporarily
This commit is contained in:
parent
143cb61533
commit
387141118b
|
@ -64,7 +64,10 @@ public class AppDelegate: NSObject, UIWindowSceneDelegate, Sendable, UIApplicati
|
|||
// }
|
||||
|
||||
/// This function returns a fake "true" value every time whatever the customer info is
|
||||
static func hasPlus() -> Bool { return true }
|
||||
static func hasPlus() -> Bool {
|
||||
self.premium = true
|
||||
return true
|
||||
}
|
||||
|
||||
private static func hasActuallyPlus(customerInfo: CustomerInfo?) -> Bool {
|
||||
return customerInfo?.entitlements[PlusEntitlements.lifetime.getEntitlementId()]?.isActive == true || customerInfo?.entitlements[PlusEntitlements.monthly.getEntitlementId()]?.isActive == true || customerInfo?.entitlements[PlusEntitlements.yearly.getEntitlementId()]?.isActive == true
|
||||
|
|
Loading…
Reference in New Issue