I have successfully written a plugin with rest endpoints. The plugin has license support. Everything works pretty fine. The plugin can detect whether a license is present or not. There is only one issue:
When I add a license (while unlicensed), the plugin does only detect it, when I disable/enable the plugin before.
Also vice versa: When the 60s timebomb has expired, the plugin still works - only the disable/enable invalids the license.
Any hints are welcome.
Many thanks in advance