hasLifetimePurchase

Checks if user has a lifetime premium purchase. This is an INAPP purchase with LIFETIME_PREMIUM or REMOVE_ADS category.

Return

true if user has any lifetime purchase, false otherwise.


open fun hasLifetimePurchase(productId: String): Boolean

Checks if a specific product has been purchased and is currently owned.

Return

true if the product is owned, false otherwise.

Parameters

productId

The product ID to check.