Android billing library has the queryPurchasesAsync
api which returns the puchases of the user. Purchase
class has the method getPurchaseTime() but the document says that for a subscription this accounts to the first time the subscription was purchased not the last renewal time.
How can I know the last time the renewal occured? Or better how can I know the end time of the subscription (from the last renewal)?