If you know you might want to do this in the future, in your first version store a flag to NSUserDefaults indicating that the user has had the paid version. Then, on your In-App version check this flag and provide the content immediately.
If you already have a version released, you may have to look for something that you are already storing, e.g. the user has a highscore greater than zero to indicate that the user has already purchased the app. (There will be a small number of users that may have downloaded the app but not opened it and these users may be charged twice).
Yeah, it is. Before you Update your app with FREE version, you add all users that have paid for it serial number "PAID"(or something), and everything else is just conditional statements(if-else). Congrats!
发布评论
评论(2)
当然。
我工作的公司过去就这样做过。
如果您知道将来可能想要执行此操作,请在您的第一个版本中向
NSUserDefaults
存储一个标志,指示用户已使用付费版本。然后,在您的应用程序内版本上检查此标志并立即提供内容。如果您已经发布了版本,则可能需要查找已存储的内容,例如,用户的高分大于零,表明用户已经购买了该应用程序。 (会有一小部分用户可能已经下载了该应用程序但没有打开它,这些用户可能会被收取两次费用)。
Certainly.
The company I work for has done this in the past.
If you know you might want to do this in the future, in your first version store a flag to
NSUserDefaults
indicating that the user has had the paid version. Then, on your In-App version check this flag and provide the content immediately.If you already have a version released, you may have to look for something that you are already storing, e.g. the user has a highscore greater than zero to indicate that the user has already purchased the app. (There will be a small number of users that may have downloaded the app but not opened it and these users may be charged twice).
是的,确实如此。在使用免费版本更新应用程序之前,您添加所有已为其付费的用户序列号“PAID”(或其他内容),其他所有内容都只是条件语句(if-else)。恭喜!
Yeah, it is. Before you Update your app with FREE version, you add all users that have paid for it serial number "PAID"(or something), and everything else is just conditional statements(if-else). Congrats!