How can I make a time-limited trial application?

孤街浪徒 提交于 2020-01-02 04:53:05

问题


I'd like be able to make a time-limited trial version of my application, but I'm not sure how I can reliably determine whether or not the user attempted to reinstall the application after the expiration date.

I could likely store the initial installation date in a storage location that wouldn't get erased upon uninstall, but this doesn't seem like an ideal method. Does Google Play's Application Licensing support this feature, or is there another acceptable way to accomplish this?


回答1:


To echo what was written in the comments:

Have the device create a UUID, then send the UUID to a server like was mentioned. Every time the app is used or every couple days, which ever is more, check if the app trial has expired and should be disabled IN the Licensing Services policy. That way you can have the licensing service disable the application for you.



来源:https://stackoverflow.com/questions/10865365/how-can-i-make-a-time-limited-trial-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!