iOS通过应用内购买添加了大量产品 [英] iOS adding huge number of products through In-App Purchase
问题描述
我正在为公司的iPhone应用程序工作,他们想使用应用内购买来销售大量产品...
I'm working on in iphone application for my company, they want to sell huge number of products using in-app-purchase ...
但是问题是要使用IAP,我们必须为每个产品在应用商店上添加一条记录,其中包含元数据及其有关该产品的价格,正如我之前所说的那样,我们拥有大量数据.因此,我考虑的是添加多个虚拟产品,每个虚拟产品具有不同的层级价格,并且当用户从我的商店购买产品时,我将此产品与应用商店中的一个虚拟产品进行映射(取决于价格)层),然后我通过SKMutableProduct.requestData发送一个标识符,并将其与交易一起接收,以了解用户购买了哪种产品.
but the problem is to use iap we have to add for each product a record on app store contains meta data and its price about this product, and as I said before we have huge data. So what I'm thinking about is to add a number of virtual products each one with a different tier price and when a user buy a product form my store I map this product with one of the virtual product on app store (depending on the price tier) and I send an identifier through SKMutableProduct.requestData and receive it with the transaction to know which product the user has bought.
这样,如果我有数百万个轮胎价格为5的产品,那么我只能在应用商店中添加5种产品,但是我不接受苹果是否会接受……这是正常的吗?你怎么看 ?如果不是,我该如何处理大量产品?
In this way if I have millions of products with 5 tires price I can add just 5 products to app store, But I don't if apple will accept that ... is that regular ? what do you think ? if not what can I do with huge number of products?
推荐答案
Application Loader提供了从平面文件批量上传IAP产品信息的功能.
Application Loader provides the ability to bulk upload IAP product information from a flat file.
转到iTunes Connect->管理您的应用程序",然后滚动到底部并下载应用程序加载器(如果尚未安装),然后选择查看指南".您将要查看从文件创建程序包"部分.
Go to iTunes Connect->Manage Your Applications, then scroll to the bottom and download the app loader (if you haven't already) and select "View Guide". You'll want to look at the "Creating a Package from a File" section.
这篇关于iOS通过应用内购买添加了大量产品的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!