Hello,
I’m providing a free trial on my weekly plan and I want to check if a user is eligible for the trial. The goal is to display a text (e.g., “3 Day Free Trial”) based on eligibility.
How can I check if the user has already availed the free trial or not?
I tried this code, but it’s not working:
val freeTrialText = if (pkg.storeProduct.subscriptionOptions?.defaultOffer?.freePhase != null) "3 Day Free Trial" else ""
println("3 day trial text: $freeTrialText")This always returns empty.
On iOS, the payment popup correctly shows the 3-day free trial, but in the app it doesn’t reflect.
Any ideas on what I might be missing?

