android - In App Billing - Monthly Subscription Version 3 -


i want implement monthly subscriptions application enable ad-free version. have implemented demo that, , working fine.

while implementing in real scenario in application, have few queries :-

  • what if user changes his/her mobile device. how can managed @ other device also. (i had planned when subscription purchased on 1 device, save yes/no value in shared pref , enable or disable ads based on that. problem when change device, how value of shared pref can checked @ other device)

  • what if user cancels subscriptions google wallet. have saved yes/no value in preferences, check active subscription using purchase status api. (is fine ?)

    i want know way how these subscriptions should handled enable no-ads version application. better suggestion requested.

  1. you need pass purchase data server store @ end. can fetch users subscription status time server. check if shared pref has subscription info show/hide ads. if shared pref doesn't have subscription related data (either device change or user may have cleared cache) should ask server data , show/hide ads accordingly.

  2. if user cancels subscription can fire inventory query give current status of purchase. approach work here fine.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -