Need help with a project

Peter Bogdanoff bogdanoff at me.com
Thu Jun 14 21:23:36 EDT 2018


Also, I want to add this: Yummy Interactive who is behind SoftwareShield has responded to my tech support questions about what to do, but I’m somewhat flummoxed with their responses. They assume I have more technical chops. This is the kind of thing:

> 1. Is it possible to create a project that allows a user to have “unlimited” use for two weeks, then reverts to a “limited” version? Does this require use of a generated serial number, and an entity on your server?
> 
> 
> The requirement can be implemented as following:
> 
> (1) create a project, the default/first entity's license model is "Expire By Period" (http://doc.softwareshield.com/UG/license_action.html#expire-by-period <http://doc.softwareshield.com/UG/license_action.html#expire-by-period>) license model, set the periodInSeconds to 1209600 (two weeks).
> 
> (2) in your app code, checks if the entity status is expired, run app in "unlimited" mode if not, switch to "limited" mode if expired. 
> 
> 
> 
> if (entity->isLocked()){
>   //this entity is locked or trial already expired.
>   //we may pop up info to prompt for purchase.
>   run_in_limited_mode();
> } else {
>   //this entity still in two-weeks trial period
>   run_in_unlimited_mode();
> }
> 
>   please refer to (http://doc.softwareshield.com/PG/index.html#pg_index <http://doc.softwareshield.com/PG/index.html#pg_index>) for SDK programming.
> 
> (3) use the license model's action ACT_SET_EXPIRE_PERIOD / ACT_ADD_EXPIRE_PERIOD (http://doc.softwareshield.com/UG/license_action.html#act_set_expire_period <http://doc.softwareshield.com/UG/license_action.html#act_set_expire_period>) to manipulate the customer's trial period. Basically it means you create serial numbers (with ACT_XXX_EXPIRE_PERIOD) on our web portal, send a serial number to the customer after payment, the user input the serial number on the license UI page so the app can run in "unlimited" mode again. 
> 








More information about the use-livecode mailing list