isSubscribed

open fun isSubscribed(): Boolean

Checks if user has an active subscription (including cancelled but not expired).

Return

true if user has any active subscription, false otherwise.


open fun isSubscribed(subscriptionId: String): Boolean

Checks if user has a specific active subscription.

Return

true if the subscription is active, false otherwise.

Parameters

subscriptionId

The subscription product ID to check.