Demo mode and registration
-
How does everyone go about adding a demo mode and registration method to your plugins?
-
@pcs800
I realize there's Create RSA Key pair, and Create Dummy License File.
But the documentation doesn't say anything about them, that I can find. -
@pcs800 have a look at the Unlocker in the doc for the scripted part and Hise Activate for the server part
The Unlocker allows for time limited licenses so you can make demoIt all works using RSA pair, and server communication to generate the license
So yo’ll need to:
- Create an endpoint on your server that can respond to POST call
- Script a POST call in your project using the Server API in Hise
- Generate the license on your server (PHP)
- Receive the license from your server
- Create the license file locally with the FileSystem
- And read that file with the Unlocker.
There’s a PHP example somewhere (in the doc?) to generate the license on your server (once you have created an REST endpoint for the POST call)
-
@pcs800 I am misleading you a wee bit actually, Hise Activate deals with the server side for you (for a fee) so you don’t have to create the endpoint and license generator. But if you want to make it yourself you don’t need to rely on Hise Activate. It’s up to you.
But you’ll need to make the Unlocker part in your project anyway (unless Hise Activate also comes with a ready made script?)
[https://docs.hise.dev/scripting/scripting-api/unlocker/index.html]
-
@ustk Ok, this is all completely new to me. I am going to have to do some research.
Thanks -
@ustk said in Demo mode and registration:
But you’ll need to make the Unlocker part in your project anyway (unless Hise Activate also comes with a ready made script?)
It does.