更新 iOS 应用程序的应用内购买内容?

发布于 2024-12-10 02:37:41 字数 274 浏览 0 评论 0原文

我似乎无法在任何地方找到这个问题的答案,所以这里...

我正在开发一个 iOS 应用程序,它将具有非消耗性应用内购买(扩展包)。例如,假设我出售一个包含 10 个关卡的包,并且我想在一个月内将应用内购买更新为包含 15 个关卡。用户无需重新购买该包;他们只需要更新它。

三个问题:

  1. 这可能吗?
  2. 如何通知用户这一变化(或者他们应该如何被通知这一变化?)
  3. Apple 是否需要审查这样的变化?

提前致谢, 瑞克

I can't seem to find an answer to this question anywhere, so here goes...

I've developing an iOS app that will have non-consumable in-app purchases (expansion packs). Say I sell a pack that has 10 levels in it, for example, and in a month I want to update that in-app purchase to have 15 levels. The user will NOT have to re-purchase the pack; they would just need to update it.

Three questions:

  1. Is this even possible?
  2. How are users notified of this (or how SHOULD they be notified of this change?)
  3. Does Apple need to review changes like this?

Thanks in advance,
Rick

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

抱着落日 2024-12-17 02:37:41
  1. 显然是的。您可以以某种方式编写代码,以便您的应用程序记住用户购买了哪些更新以及如何在您的应用程序中解释这些更新,这取决于您。唯一阻止您更改应用内购买内容的事情是当您再次取消功能或在您的案例级别时。 Apple 不允许您上传功能较少的新付费版本。
  2. 我可能会在应用商店的信息文本中告诉用户,如果他们已经升级了 10 级,他们将获得 5 级额外的级别。
  3. 当您将新版本上传到应用程序商店时,Apple 会审核您对应用程序所做的每项更改。这对于任何功能都是如此,对于应用内购买的更新也是如此。
  1. Clearly yes. It is up to you, to write the code in a way, that your app remembers which updates a user has bought and how these updates are interpreted in your app. The only thing that will stop you from changing an in-app purchase content is when you take functionality or in your case levels, away again. Apple won't allow you to upload a new paid version with less functionality.
  2. I would probably tell the user in the info text you have on the app-store, that they will receive 5 additional levels if they already have the 10 level upgrade.
  3. Apple reviews every change you make to the app when you upload a new version to the app-store. This is true for any feature as it is for updates to in app purchase.
短叹 2024-12-17 02:37:41

我最近在我的应用程序中做了类似的事情。我在 NSUserDefaults 中保存了一个 BOOL 值,该值指定用户是否购买了扩展包。在我的更新中,我只是根据 BOOL 值是“是”还是“否”来更改提供给用户的代码。只要设计正确,更新就不会有任何问题

I did something similar to this in my app recently. I was saving a BOOL value in NSUserDefaults that specified if the user had purchased the expansion pack. In my update I simply had the change the code that was given to the user based on whether or not that BOOL value was YES or NO. As long as you designed it correctly you shouldn't have any troubles updating

尐偏执 2024-12-17 02:37:41
  1. 是的,这是可能的。如果您跟踪谁购买了哪些包(即保留一个 bool 值作为 NSUserDefault),那么他们仍然可以访问它(即使您向其中添加更多内容/级别)。
  2. 这取决于您所说的通知是什么意思;他们会知道在安装更新时是否阅读了更新注释。您也可以选择在更新后加载应用程序时提醒他们 - 您的电话。
  3. 如果您提交代码,Apple 将会对其进行审核。只需将其视为应用程序的任何其他更新即可。

希望这有帮助!

  1. Yes it's possible. Provided you keep a track of who has bought what pack (ie. keep a bool value as an NSUserDefault), then they will still have access to it (even if you add more stuff/levels to it).
  2. It depends what you mean by notified; they will know if they read the update comments when they install the update. Also you could just choose to alert them when the load the app after the update - your call.
  3. If you're submitting the code Apple will review it. Just think of it like any other update to an app.

Hope this helps!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文