LinkFive - Successful Subscriptions

Fetch Subscriptions

Fetch Subscriptions

Please read How to initialize the SDK before you start with this part.

Fetch active Subscriptions

To fetch the active subscriptions, to for example view them in your paywall view, do:

LinkFivePurchases.shared.fetchSubscriptions { result in
switch result {
case .success(let products):
// TODO: Handle the products
break
case .failure(let error):
// TODO: Handle the error
break
}
}

Next: Make a Purchase