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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -