我如何使用 LVL 创建应用程序的限时版本(试用版)
我想创建一个试用版应用程序,但我找不到如何限制固定时间(例如 15 天)应用程序的使用。
可以使用 Android LVL 吗?
i want to create a trial version app, but i couldn't find how to limit the app usage for a fixed time (say 15 days).
Is it possible using android LVL?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议您阅读 该主题的第二个答案。
我认为您不能也不应该想要发布一个与未来的付费版本具有相同软件包的免费版本:您将无法这样做。
但在我看来,正确的解决方案是采用不同的软件包,并进行另一种安全检查,以防止应用程序在一段时间后运行。
你希望人们免费下载你的应用程序,那么你别无选择,只能说你的应用程序对每个人都是免费的,但这可能是有限的试用期(即 6 月 15 日),
否则,我不知道你该怎么做让人们免费下载并支付许可费用。
请记住,如果您选择制作免费应用程序:
我认为通过重新编写服务器管理策略并更改从服务器接收策略时的有效性应该是可行的,但在我看来,LVL 并不是为此目的,失去一些收入将是一种遗憾......
以下是代码对于 servermanager,您可以尝试覆盖 setValidityTimestamp 并为其指定上限(如果免费提供许可证)。
但是,在我看来,正确的解决方案是使用另一种不同的软件包,并进行其他类型的安全检查,以防止应用程序在一段时间后运行。
斯特夫
I would suggest you read the second answer of this thread.
I don't think you can and should want to release a free version with the same package as a future paid version : you won't be able to do so.
But the right solution, to my mind, is a different package with an other kind of security check that prevents the app from working after some time.
You want people to download freely your app then you have no choice exept saying your app is free, for every one, but this could be for a limited trial period (i.e berfor june 15)
Otherwise, I don't see how you could do to let people download it for free AND pay for licence.
Remember that if you choose to make a free app :
I kind of think something should be feasible by re writing a server managed policy and changing the validity when receiving it from server, but it seems to me LVL has not been meant for that and it would be a pity to loose some revenues...
Here is the code for servermanager, you could attempt to override setValidityTimestamp and give it an upper limit if licence is given for free.
But, again, the right solution, to my mind is a different package with an other kind of security check that prevents the app from working after some time.
Steff