I have a plugin with licensing, which works fine with the timebomb licences. But when I do a fresh install on my developer instance, I get the "Free Trial" licence - by my thinking, in free trial everything should work just like in the paid version.
But here comes my problem, how do I actually determine that the plugin is in the free trial? I use this function to determine if the plugin is licensed:
private Boolean isLicenceOK() {
if (pluginLicenseManager.getLicense().isDefined()) {
PluginLicense pluginLicense = pluginLicenseManager.getLicense().get();
return !pluginLicense.getError().isDefined();
} else {
return false;
}
}
Which works fine when I have/dont have a license. But when the plugin is in the free trial, it just says there is no license.
So is there a way to find out if the plugin is currently in the free trial?
Community moderators have prevented the ability to post new answers.
Hi Ivana,
You should be able to see this information in the Manage Add-Ons page:
See the License Details section:
License details:
Evaluation, Unlimited-user commercial license, Standard, expires 02/Feb/18
You can also tell from the description paragraph this is a trial:
Your trial is expiring on 02/Feb/18. Buy a license for this add-on.
Cheers,
Branden
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.