extension Product {
var isEligableForPurchase: Bool {
get async {
guard
type == .autoRenewable,
subscription?.introductoryOffer?.type == .introductory
else {
return true
}
switch await latestTransaction {
case .verified: return false
default: return true
}
}
}
}
I used this
Post
Replies
Boosts
Views
Activity
Same issue
Also wondering this. I have spent soooo long trying to do it