Expire or Invalidate app build after a certain time.

Hi

Does anyone have any suggestions on how to “expire” an app built with the corona SDK ?

We want to give out android versions of our app to third parties for evaluation but want to make sure that they could not use it indefinitely or keep usable copies for too long.

You’ll have to set up a server and have the device’s “check-in” every launch.  On initial launch it should save a timestamp to the server, then every subsequent launch test if it is still within the evaluation period.  I would recommend a PHP/MySQL backend. 

You can limit the number of launches with a counter, or check the difference between the device’s date and a reference date inside the app, for instance the date of the first launch.

I would not recommend this as it is very simple to clear persistent data on Android.

Thank you for the suggestions.

At the moment we just check the devices date against a hard coded date. Obviously this isn’t tamper proof but it’s easiest and is the most maintenance free option I know of.

If this special copy will have internet access I was thinking of just using the developer console and it’s beta testing functionality.

We can control who has access via that.

You’ll have to set up a server and have the device’s “check-in” every launch.  On initial launch it should save a timestamp to the server, then every subsequent launch test if it is still within the evaluation period.  I would recommend a PHP/MySQL backend. 

You can limit the number of launches with a counter, or check the difference between the device’s date and a reference date inside the app, for instance the date of the first launch.

I would not recommend this as it is very simple to clear persistent data on Android.

Thank you for the suggestions.

At the moment we just check the devices date against a hard coded date. Obviously this isn’t tamper proof but it’s easiest and is the most maintenance free option I know of.

If this special copy will have internet access I was thinking of just using the developer console and it’s beta testing functionality.

We can control who has access via that.