Skip to main content

iOS

The following method is used to check a user's existing purchased products.

Telling if there is an ongoing subscription service

Description:

Tell if a user has an ongoing subscription service. If yes, this method can be used to tell the benefits the user enjoys.

[[AWPurchaseKit getPurchaseInfo] isSubscriptionUnlockedUser];

Gets the current latest subscription

Description:

Gets the current subscription and, if there are multiple subscriptions, returns the one that has expired the longest

[[AWPurchaseKit getPurchaseInfo] getLatestSubscriptionInfo];

Obtain the existing valid subscriptions

Description:

It is used to tell a user's existing valid subscription.

[[AWPurchaseKit getPurchaseInfo] getCurrentValidSubscriptions];

Obtain the currently owned non-consumable and non-renewable subscription products.

Description:

It is used to obtain the consumable, non-consumable, and non-renewable subscription items currently owned by the user.

[[AWPurchaseKit getPurchaseInfo] purchasedArray];

Next Steps

Adding a Global Listener