简体   繁体   English

为iOS应用程序实施时间试用版的正确方法

[英]Correct way of implementing a Time Trial version for iOS apps

Apple has finally accepted submissions of Time Trial versions for Apps and in their latest guidelines, at paragraph 3.1.1 they do recommend implementing them as FREE In-app purchases ("Non-Consumable IAP item at Price Tier 0"). Apple最终接受了针对应用程序的时间试用版的提交,并且在其最新指南中,在第3.1.1段中,他们建议将其实现为免费应用程序内购买(“价格为0的非消耗性IAP项目”)。

I have done so, but now it is not clear to me how to prevent a user from doing trials ad infinitum, by simply uninstalling the app, reinstalling it and RESTORING the Free in-app purchase! 我已经这样做了,但是现在我不清楚如何通过简单地卸载应用程序,重新安装它并恢复免费的应用程序内购买来阻止用户无限次试用!

Is there any way of preventing it? 有什么预防方法吗?

I believe that any flags that we programmatically save in NSUserDefaults would be deleted if the app is manually uninstalled together with all data. 我相信,如果手动将应用程序连同所有数据一起卸载,那么我们以编程方式保存在NSUserDefaults中的所有标志NSUserDefaults将被删除。 Correct? 正确?

Have a look at DeviceCheck : 看看DeviceCheck

Using the DeviceCheck APIs, in combination with server-to-server APIs, you can set and query two bits of data per device, while maintaining user privacy. 结合使用DeviceCheck API和服务器到服务器API,您可以为每个设备设置和查询两位数据,同时保持用户隐私。
You might use this data to identify devices that have already taken advantage of a promotional offer that you provide, or to flag a device that you've determined to be fraudulent. 您可能会使用此数据来识别已经利用您提供的促销优惠的设备,或者标记您确定为欺诈的设备。

You can parse the receipt and extract Purchase Date of the In-App purchase for the free trial. 您可以解析收据并提取应用内购买的Purchase Date以进行免费试用。 See Receipt Fields . 请参阅收货字段 Even if the item is restored, the date will correspond to the original purchase date. 即使已恢复该项目,该日期也将与原始购买日期相对应。

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

相关问题 概念:IOS的试用版和完整版今天。 (单独的应用程序,inapp购买,Applestore拒绝) - Concept: Trial & Full version in IOS today. (separate Apps, inapp purchases, Applestore rejection) iOS - 使用相同的消息和有效负载同时从同一服务器向多个应用程序发送推送通知的正确方法 - iOS - correct way to send push notification to multiple apps from the same server at the same time with the same message and payload 处理试用版应用程序的最佳方法是什么? - What is the best approach to handle trial version apps? 是否有为iOS应用制作图像图标/按钮的正确方法? - Is there a correct way to make image icon/buttons for iOS apps? Kofax Capture Mobile SDK是否具有iOS的试用版? - Do Kofax Capture Mobile SDK have a trial version for iOS? 自录制开始以来iOS更新录制时间的正确方法 - iOS correct way for update recording time since beginning of the recording 为多个iOS版本开发应用程序 - Developing apps for multiple iOS version 有没有一种方法可以执行一次免费试用,然后一次性购买 - Is there a way to implement a free trial followed by a one-time-purchase 试用期的iOS应用 - iOS app with trial period 为付费应用设置免费试用 - Setup Free Trial for Paid Apps
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM