- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
这是一个 Cocoa 应用内购买问题。
我有一款游戏,您可以购买一组 10 条生命,这是一种消耗品应用内购买 - 一旦生命用完,用户必须购买更多生命。
如果用户使用生命的子集(例如 5),然后删除应用程序、重新安装并恢复购买,会发生什么情况?苹果会告诉用户他们购买了一套 10 条生命,我的程序会很高兴地答应并给他们 5 条额外的生命。
我的服务器需要跟踪这些数据吗?我在应用内购买文档中没有找到任何有关如何进行此操作的信息。
最佳答案
如果用户使用生命的子集(例如 5 个),然后删除应用程序、重新安装并恢复购买,会发生什么?Apple 会告诉用户他们购买了一组 10 个生命,而我的程序会很高兴地答应并给他们 5 条额外的生命。
不!消耗品无法恢复。即使您提供恢复 IAP,消耗品也无法恢复。因此,您对用户将获得 5 条额外生命的担忧是毫无根据的,但是,如果您的应用程序正在与服务器同步数据,您需要跟踪用户使用的生命。
这是苹果文档所说的,
Consumable products, by their nature, aren’t synced or restored. Users understand that, for example, buying ten more bubbles on their iPhone doesn’t also give them ten more bubbles on their iPad. All other types of products are made available across all of the user’s devices. They’re also restored so users can continue to access their purchased content even after buying a new device. Store Kit handles the syncing and restoring process for auto-renewable and free subscriptions and for non-consumable products.
Products that expire or get used up—consumable products, auto-renewable subscriptions, and non-renewing subscriptions—can be purchased multiple times to get the consumable item again or extend the subscription.
关于ios - 应用内购买、消耗品,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42599682/
这是一个 Cocoa 应用内购买问题。 我有一款游戏,您可以购买一组 10 条生命,这是一种消耗品应用内购买 - 一旦生命用完,用户必须购买更多生命。 如果用户使用生命的子集(例如 5),然后删除应用
我正在我的应用程序中实现应用内购买。根据要求,每次我在应用程序中按下“购买”按钮时,应该购买产品。 在 itunesconnect 网站上,我的产品属于哪一类? 消耗品或非消耗品。 我对选择类别感到困
在我的实时应用程序上,用户不断收到有关消费品的错误消息。这是非常随机的错误,很少发生。 此应用内购买已被购买。它将免费恢复。 在我的应用程序中,除非应用程序购买过程完成,否则我阻止用户点击“立即购买”
我的问题主要围绕使用 Google 的应用内结算 API 处理应用内消费品购买。 ( https://developer.android.com/google/play/billing/api.htm
我对应用内购买的特定情况有疑问。 我们在我们的应用程序中有一个用于购买硬币的消耗品: 使用 IAP 购买 0.99 美元的硬币包 我们向我们的服务器发送请求以记录购买并将硬币添加到他们的帐户(这些硬币
是否可以通过 Windows 应用商店购买以下项目作为应用内购买? 插件 消耗品(一次性使用) 订阅 我在哪里可以找到有关如何在应用内购买中为插件、消耗品、订阅编码的资源? 是的,我曾尝试使用谷歌搜索
我是一名优秀的程序员,十分优秀!