I found the following code from here to get products list from 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 a way to get dynamic products list? here its hard coded.what happens when i add new products after app launch?
This is not currently possible using Google API.
Create a JSON
file that contains current SKUs
and place it on some server.
In your app, first load this file from server URL and then use this list of SKUs
to retrieve product details via Google API.
To Google: Provide function for this, SHAME ON YOU!