I've been trying to use the Google Play Android Developer API but just realized that that might not be what I should be doing:
Your servers should never query subscription status dynamically, based on individual requests from your Android application. -Google
I don't have my own servers and don't anticipate over 15000 daily app uses (the API allows 15000 requests per day), and was just planning on checking the subscription state every time the app is started up.
This seems to be what Google is saying I should not be doing. So, how can I check a user's subscription state otherwise?
To view and manage your Android subscriptions, open the Google Play Store app on your device, then tap the menu button (the three horizontal lines in the top left), then choose Subscriptions. You'll see a list of all the subscriptions, such as Google Play Music, handled through Google.
ANDROID TABLET OR PHONE Open the Play Store app on your phone or tablet. Tap the Menu button (three horizontal lines), Account > Subscriptions. Find the relevant subscription in your list, and then tap Cancel.
I believe the answer is a couple of paragraphs above in the same document :
Store subscription expiry on your servers
Cache expiration and purchaseState
Query for subscription status only at expiration
Generally, what they are saying is that you should cache the state of subscription and don't query it each time.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With