[英]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.