简体   繁体   English

如何从Google Play商店中检索所有应用内购买商品

[英]how to retrieve all the in app purchase items from the Google Play store

I am implementing in app purchase for an Android app. 我正在为Android应用购买应用。 I would like to send a request to retrieve all the items available for the app in the market, with product id, descriptions and price for each item. 我想发送一个请求,以检索市场上该应用程序可用的所有项目,以及每个项目的产品ID,说明和价格。 The reason is I do not want to hard code the items, so when the items change, the app can directly get it from the server instead of needing to make a new build. 原因是我不想对项目进行硬编码,因此当项目更改时,应用程序可以直接从服务器获取它,而无需进行新的构建。 However I can not find a request that does this. 但是,我找不到执行此操作的请求。 Please let me know if I missed something or this is not yet supported. 如果我错过了某些内容或尚不支持,请告诉我。

Thanks Ray 谢谢雷

The new Version 3 in app billing api has better support to get product info from server. 应用程序计费api中的新版本3具有更好的支持,可从服务器获取产品信息。 It is also much simpler than the older version. 它也比旧版本简单得多。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM