I am developing an iOS application which offers in app purchases in the form of subscriptions. I want to extract the renew date and the free trial end date of a given active subscription, if possible.
During the development I found that the Transaction
object in StoreKit2
has expirationDate
in addition the Transaction
has a subscriptionStatus
that in turn has renewalInfo
. From it I can extract renewalDate
.
My question is which of the two should I use and what is the difference?