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

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -