About paid plug-in activation
Answered
I found that if you directly use CheckLicense to detect whether the plug-in is activated, there is a certain delay. My current practice is CheckLicense.isLicensed() to verify,
I get all inactive, causing the plugin to not display properly
Is there a way to quickly know if the plugin has been activated before opening the project?
-
Please sign in to leave a comment.
Hi, all license checks are made in a background thread parallel to IDE startup and the population of LicensingFacade is asynchronous, so there is a delay. If `LicensingFacade.getInstance()` returns `null`, it means the `LicensingFacade` object is not initialized yet and the implementation of how to interpret this situation is on the plugin side. There is no other way to know if the user has a license or not.