2.4.1
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
}