
This approach should not be circumventable, but does require setting up a webserver and such.This advertisement has not loaded yet, but your article continues below. It then communicates the results of the trial expiration check back to your application. If the server does have an entry for the phone id then it does a simple check to see if the trial period has expired. If the server does not have an entry for that phone id then it makes a new one and notes the time. You will have to set up a server, and then whenever your application is started your app sends the phones unique identifier to the server. The third technique is the only way that I have heard about to truly be able to accomplish what you want to do. Users can circumvent this by manually changing the date on their phone, but most users won't go through the trouble to do such a thing. I have used this approach because it is easy to implement and for the most part I just didn't feel like going through the trouble of the third technique. Basically with this approach you will be hard code an end date for the trial, and all users that download and use the app will stop being able to use the app at the same time. The second approach is harder to circumvent, but still circumventable. This is easy to circumvent because uninstalling and reinstalling will allow the user to have another trial period. The first approach is easily circumvented, the first time you run the app save the date/time to a file, database, or shared preferences and every time you run the app after that check to see if the trial period has ended. So how can it detect my trial is expired? Unless Im putting the date to far back because I dont remember when the trail was started? I manually changed date and time, cleared data and cache and I put airplane mode so it wouldnt connect to server if it has one. Message the mods if you see something that needs to be removed. No Derogatory Language, Harassment or Bullying.Īll giveaways must be approved by a moderator. Low Quality posts will be removed at the discretion of the mods.

This includes iOS, Android, Windows Phone, Blackberry, Macintosh, Windows or Linux.

DARK THEME NORMAL THEME Rules and Guidelinesĭo not make an account to advertise your app here.Īll submissions are to be related to Applications of any kind. The subreddit moderators reserve the right to remove any posts or users from the subreddit without notice at any point based on their own discretion. Please be sure to read the rules below before posting. Welcome to /r/apps, the universal subreddit for anything application related.
