Google-IAP
Google-IAP copied to clipboard
How can i find expiry time
I want to know when my subscription time will expire is there any way in this library ??
@Emranul-Islam have you figured out anything yet?
@chnouman no i'm looking for it
@Emranul-Islam @chnouman
You can calculate the expiry time by getting the purchaseInfo.purchaseTime
and adding the purchaseInfo.skuInfo.skuDetails.subscriptionPeriod
to it
Subscription Period
- "P1W" is 1 Week
- "P1M" is 1 Month
- "P3M" is 3 Months
- "P6M" is 6 Months
- "P1Y" is 1 Year
Thanks for help @clashcaddie