Hi, I have some confusion between
if let info = purchaserInfo {
if info.allPurchasedProductIdentifiers.contains("xxx") {
and
if purchaserInfo?.entitlements["pro"]?.isActive == true {
Basically, i am trying to check if the user has subscription or not. I am checking with .onAppear in the default main view. I am new and would like to learn how to check if the user subscription period hasnt finished (doesnt matter if the user cancelled the subscription or not, of course)
Best answer by joshdholtz
View original