android - Store record of purchased items locally vs query google play for purchased items [ queryInventoryAsync(QueryInventoryFinishedListener)] -


i using iab application.

google's iab v3 api provides method query google play managed items owned user(device) v.i.z. queryinventoryasync(queryinventoryfinishedlistener)

however, use sqlite database app , thinking of storing record of purchased items in own database instead of querying google play every second time.

is bad idea?

what pros , cons of queryinventoryasync vs storing purchased items in local sqlite database?

user can manually clear application data , database dropped. or user can run application on device same account.

purchasing in-app billing products

it practice query in-app billing service user’s purchases, example whenever app starts or resumes, user’s current in-app product ownership information reflected in app.


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -