Skip to main content

Android

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

Obtain the current valid orders

Description:

The following method is used to check a user's existing valid orders, including valid subscription and unconsumed INAPP products.

UserOrderManager.getProvider().getOrders()

Obtain current subscription

Description:

This method is used to obtain a user's existing valid subscription. If there is no valid subscription, an empty result will be returned.

SubsPurchase recentSubsPurchase = UserOrderManager.getProvider().getRecentSubsPurchase();

Next Steps

Adding a Global Listener