tidev/ti.storekit

Is there any API for getting if the trial period has ended ?

Opened this issue · 1 comments

I am using introductoryPrice.paymentMode and subscriptionPeriod to get if the App has a trial version and its period. But How do we identify if the trial period has ended?

  • say for the case where the User already used the trial period but then has not subscribed to the app yet, and an appropriate message has to be shown in the App based on that condition.

Its usually handled through server-to-server notifications where Apple perfoms a POST request to the linked endpoint of your backend with the subscription state and initial transaction ID to look it up