Licensing a module

Hi All. I am in the process of trying to add licensing restrictions to my module.

I remember seeing/maybe I dreamed about adding a flag in the pom.xml build file to say my module required licensing. Is this true?

I have already implemented notifyLicenseStateChanged() and also added the isTrialExpired() checks into my module. If I do setup a licensing requirement (using Ignitions licensing model) do I just use the licenseState.getLicenseMode() == LicenseMode.Activated logic?

1 Like

The flag is the opposite: isFreeModule(), and it defaults false. Your module by default is not considered “free” and will get licensing-related calls.

Thanks Kevin!