android - Google in app purchasing get products list -
i found following code here products list google play store
arraylist skulist = new arraylist(); skulist.add("premiumupgrade"); skulist.add("gas"); bundle queryskus = new bundle(); queryskus.putstringarraylist(“item_id_list”, skulist);
is there way dynamic products list? here hard coded.what happens when add new products after app launch?
this not possible using google api.
create json
file contains current skus
, place on server.
in app, first load file server url , use list of skus
retrieve product details via google api.
to google: provide function this, shame on you!
Comments
Post a Comment