Android In-App Billing list of available products
Solution 1
As mentioned in this post, this is now possible using the Google Play Developer API (a.k.a. android-publisher
):
https://developers.google.com/android-publisher/
In particular, the Inappproducts: list API:
List all the in-app products for an Android app, both subscriptions and managed in-app products.
Solution 2
Third-paty apis and services are not reliable. There is no reliable and convenient way for production yet. You have to store it on your server in encrypted json data file for example, without any php/java/something, just static file.
OR you can guess item skus in your code and check even non-existing items: myitem_00-myitem_99 for example.
user754730
Updated on June 17, 2022Comments
-
user754730 about 2 years
Is it somehow possible to get a list of all available products from the Play Store?
What I want to do is to get all available items and then show them in a ListView. Whenever someone taps the ListView the right item is opened in Google Play Store.
Is that possible? And if yes, how?
-
Ali Hassan over 11 yearsThanks for your help Aamir.
-
user754730 over 11 yearsAndroid Market API is deprecated and the Google Play Store is PHP and not Java for my Andorid project...
-
Aamir Abro over 11 years@user754730 I'm afraid but you might have to make a php server which does the work for you and then by making http requests you can fetch the data from your server.
-
Aamir Abro over 11 yearsYou can also use droidmeter. For that you dont have to maintain your server, you can just request droidmeter server to get data. But its not free.
-
leshka almost 11 yearsSorry, I can't find how to get list of all available products without passing list of products_ids. It's impossible, is it?
-
papadi about 9 yearsThis answers the question 'how to get the details of existing products, once you have their IDs'. The question is how to get the IDs.
-
Chintan Soni almost 8 yearsWhat is mService ?
-
Joubert Vasconcelos about 7 yearsThis is not an answer for the user754730 question.