I would like to implement a feature in my application that allows the user to use the app for two weeks, then forces the user to do an in-app purchase, or the app no longer works. Is there a way to do this? Here were a couple of options I thought of (that I don’t really like)
-
submit an update after two weeks that has in app purchasing as a must (I don’t like this option because it seems like a good way to piss off users)
-
use a timer, but I don’t want to force the app to run in the background for two weeks just to keep an accurate count of the two weeks.
Any better suggestions?
Can’t you store the current time (eg. System.currentTimeInMillis()) in Flash (SharedPreference) the first time the application runs?
And trigger the in-app purchase whenever the current time is 14 days after the stored value?