Users have reported and proved active subscriptions. Only they are presented with the paywall.
here is my code to check their status
static func isPremiumSubscriber() -> Bool {
var subscribed = false
Purchases.shared.getCustomerInfo { customerInfo, error in
//this is too slow as subscribed is not updated to the result of
//!customerInfo!.entitlements.active.isEmpty
//before function is returned with the initial value of false for subscribed.
subscribed = !customerInfo!.entitlements.active.isEmpty
}
return subscribed
}