isSubscriptionActive

fun isSubscriptionActive(onChecked: (Boolean, String) -> Unit = { _, _ -> })

Checks whether the user is subscribed or not.

Parameters

onChecked

Unit if the answer is correct, a boolean with the subscription status and the id of the corresponding product will be returned in the unit.