Pregunta

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

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top