Frage

I am adding a subscription feature to my app. Is there any way I can know the expiry date of the current subscription?

I searched everywhere and cant seem to find the answer

Thanks you

War es hilfreich?

Lösung

Getting the expiration date for subscriptions is only available through the Google Play Android Develop HTTP-based API. You can always calculate the expiration date using theAIDL for subscriptions. If you request RESTORE_TRANSACTIONS (assuming you have no previous local data) you'll get the purchase date and the current state of the the subscription and a couple of other data.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top