Hi am using new Play Billing Library for in app subscriptions. https://developer.android.com/google/play/billing/billing_library.html
Everthing works perfect and am able to subscribe the product. But i didn't find any ways to check the purchase state of subscription. I mean whether it is active or expired.
In the documentation it says : You can then call a variety of methods on the Purchase object to view relevant information about the item, such as its purchase state or time.
But there is no purchase state method in Purchase Object, check link below https://developer.android.com/reference/com/android/billingclient/api/Purchase.html
Take a look at this video too : https://www.youtube.com/watch?v=9chvh1WYCvw&feature=youtu.be&t=301
How is it possible to check the purchase state?
Once the subscription is expired it will no longer be in the list of Purchases. Some documentation