How to make an App that only works for a week?
I'm developing an Android app focused on business marketing and one company has asked me to send via email the APK file to evaluate if they will use the app.
But to be honest, I'm afraid of them steal my app. So what would make me safer would be to create a version of my app that only works for a week, and then just stop working. Is it possible to do that?
Answer by Larry-Dietz · Dec 07, 2019 at 02:00 AM
An easy way, but also easy for them to bypass if they want to do some research, would be to use playerprefs to save the date that the app first ran, then in subsequent runs, read that variable, and if the date is over a week ago, pop up something telling them their trial is over, and exit the game when they click on an ok button, or whatever on that trial over window.
A little more secure would be to communicate with an external server, disable the app if it cant communicate with the server, and store their initial run date on the server. I would also get the current date from the server as well, so they don't bypass this by changing the date on their device.
-Larry
Your answer
Follow this Question
Related Questions
How to record lap time for player and AIs? 0 Answers
Milliseconds Timer Question 1 Answer
how can i take time value from timer (Asked again clearly) 2 Answers
How is it possible to verify values and is they are correct activate objects ? 0 Answers
How can change the text in UI text component each 5 seconds after start timer 1 Answer