android - How to determine if a in-app subscription on Google Play has been renewed? -


the following documentation describes result querying google play api subscription: https://developers.google.com/android-publisher/api-ref/purchases/subscriptions#resource-representations

however, if user cancels subscription when there still time left in current period, cancelreason empty or 0? in other words, cancelreason flag stay empty until there no time left in current period, or change on cancellation?

in other words, cancelreason flag stay empty until there no time left in current period, or change on cancellation?

i think, answer "it doesn't matter", because documentation says:

query subscription status only @ expiration — once server has retrieved expiration date of subscription tokens, should not query google play servers subscription status again until subscription reaching or has passed expiration date. typically, servers run batch query each day check status of expiring subscriptions, update database.

in fact can change immediatly, don't guarantee until end of expiration time.


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -