从应用商店安装时使 iPhone 应用付费版本替换免费版本
我刚刚发布了付费应用商店应用程序的免费版本,我希望付费版本在安装时替换免费版本。
在测试过程中,我通过为它们提供相同的应用程序 ID 并使用相同的证书对它们进行签名来实现此目的。
当我向 Apple 提交新的免费版本时,它不允许我使用现有的应用程序 ID,因此我为免费版本创建了一个新的应用程序 ID。
这样做的副作用是现在我的付费版本不再取代安装时的免费版本。 用户最终将两者都安装在手机上。
如何让付费版本取代免费版本?
编辑 1: 我希望应用商店中同时提供该应用的免费版和付费版。 免费版本中有一个购买付费版本的链接。
编辑2:我以为我已经看到商店中的其他应用程序这样做了,但也许我错了。
I just released a free version of a paid app store application, and I would like the paid version to replace the free version on install.
During testing I had this working by giving them both the same app id and signing them with the same certificate.
When I submitted the new free version to Apple it would not let me use the existing app id, and I created a new one for the free version.
The side effect of this is now my paid version no longer replaces the free version on install. The user ends up with both installed on their phone.
How can I make the paid version replace the free one?
EDIT 1: I want both the free and paid version of the app in the app store at the same time. The free version has a link in it to buy the paid version.
EDIT 2: I was thinking I had seen other apps from the store do this, but maybe I was mistaken.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
就设备而言,它有两个不同的应用程序和两个不同的证书。 用户必须手动删除旧的。 如果它们具有相同的名称和图标,那么它们就会有些混乱。 在我看来,您的免费版本应该在名称中包含“免费”或“精简版”,以使这更容易。
As far as the device is concerned, it has two different apps with two different certificates. The user will have to manually delete the old one. If they both have the same name and icon, it will be somewhat confusing for them. In my opinion, your free version should have "free" or "lite" somewhere in the name to make this easier.
这是不可能的。 最接近的是拥有一款免费应用程序,并通过应用程序内购买来升级到全部功能 - 这一切都将发生在一个应用程序中,因此从某种意义上说,它符合您的“替换”标准,但不符合您的“商店中的两者” ' 标准。 当您最初发布问题时,此功能可能不可用(您最初无法在免费应用程序中进行应用内购买),但现在可以了。
但是,仍然没有办法完成您特别要求的事情。
It is not possible to do this. The closest you can come is to have a free app with an in-app purchase to upgrade to the full features—that would all happen within one app so in a sense it fits your 'replace' criteria but not your 'both in the store' criteria. This functionality probably wasn't available when you originally posted your question—you couldn't have in-app purchasing in free apps originally—but it is now.
There still is not, however, a way to do what you were specifically requesting.
这是两个不同的应用程序 - 并且您无法通过这样做绕过应用程序商店。
也许您想查看 iPhone OS 3.0 中的新 StoreKit API - 这可能会让您的事情变得更简单。
使用 StoreKit,您可以拥有一个可安装的应用程序 - 一旦用户付费,就可以解锁额外的功能。
编辑:发现最初的应用程序不能免费安装 - 你必须支付少量费用。
This is two different apps - and you can't get around the app store by doing this.
Perhaps you want to check out the new StoreKit API in iPhone OS 3.0 - this might make things a bit simpler for you.
With StoreKit you can have a single installable app - that can have extra functions unlocked once the user pays for them.
Edit: Found out that the initial app can't be installed for free - you have to pay a small amount for it.