Skip to content

2.4.1

Compare
Choose a tag to compare
@suriksarkisyan suriksarkisyan released this 20 Jan 14:18
· 854 commits to main since this release
dc19bca

What's new

Trial duration

From now you can check the product's trial duration using QTrialDuration Enum.
If the duration is not from enum range we will return QTrialDurationOther then you can check trial duration directly from the product skuDetails.

val mainProduct = products["main"]
if (mainProduct != null && mainProduct.trialDuration == QTrialDuration.TwoWeeks) {
    // handle two weeks trial here
}