简体   繁体   English

如何在应用程序购买中通过iOS使非消费品可多次购买?

[英]How to make a non-consumable product available for multiple purchases through iOS in app purchasing?

I have a social network with an iOS app and a website. 我有一个带有iOS应用程序和网站的社交网络。 For the purposes of illustration let's say I'm Facebook and I want to sell the ability to post on your friend's wall. 出于说明目的,假设我是Facebook,我想出售在您朋友的墙上张贴信息的功能。

You would purchase this item once and forever be able to post on that friend's wall as much as you want, it does not expire. 您只需购买此物品一次,便可以永久地将其张贴在该朋友的墙上,并且不会过期。

You could purchase this item many times, but only once per friend. 您可以多次购买此商品,但每个朋友只能购买一次。

If you purchase this ability on the iPhone app, you would also have this ability on the web app. 如果您在iPhone应用程序上购买了此功能,则在Web应用程序上也将具有此功能。

How do I do this using iOS in app purchases? 如何在应用程序购买中使用iOS做到这一点?

It's not a subscription because it does not expire or renew. 这不是订阅,因为它不会过期或续订。

It's not a consumable item, because you do not use it up, it would be synched across devices, and it would be restored if you re-installed the app. 这不是消耗品,因为您没有用完它,它会在设备之间同步,如果您重新安装该应用程序,它将被还原。

It's not a non-consumable product because you can purchase it multiple times (ie for multiple friendships). 这不是一种非消耗性产品,因为您可以多次购买(即为了获得多个友谊)。

How do I do this? 我该怎么做呢?

This doesn't appear to be possible within the bounds of Apple's in-app purchase system. 在苹果的应用内购买系统的范围内,这似乎是不可能的。 If it were consumable, you wouldn't be able to restore it. 如果它是可消耗的,您将无法还原它。 And you have you manually create new in-app purchases, which then get approved by Apple, to add them, so you would have to manually create a non-consumable in-app purchase for every single user. 而且,您需要手动创建新的应用内购买,然后由Apple批准才能添加它们,因此您必须为每个用户手动创建非消耗性应用内购买。 That just isn't feasible. 那是不可行的。 So I think you have to find some other way to approach this problem. 因此,我认为您必须找到其他方法来解决此问题。

You could have a consumable purchase that adds the ability to post to an additional wall, where depending on where you buy it within the app, it'll apply to the particular wall being viewed. 您可以购买易耗品,从而可以将其发布到其他墙上,具体取决于您在应用程序中的购买位置,它将应用于正在查看的特定墙上。 You can sync that with your server to see what walls that user is allowed to post on, and when the user signs in on other devices they will have access to those same walls there as well, so there is no "restoring" of purchases required, especially since you can't restore consumable purchases anyway. 您可以将其与服务器同步,以查看允许该用户张贴在哪些墙上,以及当用户在其他设备上登录时,他们也可以访问那里的这些相同的墙上,因此无需“恢复”购买,尤其是因为您仍然无法还原消耗品的购买。 Now I don't know if Apple would like this approach because of how the in-app purchase would essentially be doing something different (allowing access to different walls) depending on which wall you're viewing, but it's the only way I can see it working within Apple's current setup for in-app purchases. 现在我不知道苹果是否会喜欢这种方法,因为根据您正在查看的墙,应用程序内购买本质上会做些不同的事情(允许访问不同的墙),但这是我看到的唯一方法它适用于Apple当前的应用内购买设置。

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

相关问题 在iTunes Connect中将非消费产品列表导入为应用程序内购买吗? - Import a list of non-consumable Product as In App Purchases in iTunes Connect? iOS->可以在应用内购买的非消耗品实际包含代码吗? - iOS -> Can Non-Consumable In app purchases actually contains code? 通过iOS免费进行非消耗性应用内购买 - Free non-consumable in-app purchases with ios 百万项目的非消耗性应用内购买 - Non-consumable In App Purchases for Million items 在iOS中购买应用内的非消费品。我需要服务器吗? - Non-consumable in app purchases in iOS. Do I need a server? 具有自定义用户帐户管理功能的iOS非耗材IAP - 多次购买 - iOS Non-consumable IAP with custom user accounts management - multiple purchases 用户登录时如何保护非消耗性应用内购买 - How to secure non-consumable in-app purchases when user logs in 我是否必须在IOS应用程序上显示产品说明。 非消耗性产品? - Do I have to show the product description on my IOS app. for a non-consumable product? iOS-我们可以为非消耗性商品添加应用内购买促销代码吗? - iOS - Can we add Promo codes for In-App Purchase for non-consumable product? iOS应用内购买。 标识购买的产品(非消耗品)。 - iOS in-app purchase. Identifying purchased product (non-consumable).
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM