I’m building frontend logic to either:
- Show eligible users an offer with a 3-day free trial (a promotional offer)
- Show ineligible users a paywall without the trial offer.
I know that checkTrialOrIntroDiscountEligibility
exists for ios. But there isn’t a similar function for android devices.
So I’m trying to build a workaround with allPurchasedProductIdentifiers
in the CustomerInfo object.
My question: I’m wondering if free trials and introductory offers are added to the allPurchasedProductIdentifiers
array when the trial starts. If so, then I can simply check to see if the length of allPurchasedProductIdentifiers
to determine which offer to display.
If not, are free trials and introductory offers recorded somewhere else that I can check on android?