How to License Your App
Copy the generated distribution key and insert it into beginning of your application class constructor. This will vary by product; see below for details.
SpreadJS Distribution Licensing
With every developer bundle license, you'll receive one distribution license for one hostname (domain), which entitles you to generate a distribution key that will be used in the script code. To deploy to additional hostnames, you can buy packages of additional, renewable distribution licenses by contacting sales, and generate distribution keys for those hostnames. Licenses must be renewed annually, and keys will need to be updated if you deploy a new version of SpreadJS.
The license for SpreadJS is set via script code. This is done by setting the GC.Spread.Sheets.LicenseKey before creating a new Workbook() instance:
<script> GC.Spread.Sheets.LicenseKey = " [your Distribution license key here]"; </script>
Watch the video:
Wijmo Distribution Licensing
With every developer license, you'll receive unlimited, perpetual distribution license, which entitles you to generate distribution keys that will be used in the script code. Wijmo license holders can generate distribution keys for an unlimited number of hostnames (domains). While the licenses never expire, keys will need to be updated if you deploy a new version of Wijmo. Without a key, you'll see a popup in your deployed app.
Watch the video:
To use Wijmo in production, follow these simple steps.
Get your distribution key in My Licenses. Copy the key.
Open your Wijmo application in any editor. Find a place in the code before you've initialized any Wijmo controls. Call the following method and paste your licenseKey as a string inside it:
Refresh your application and you should see the licensing popup and evaluation watermark disappear. Read more about Wijmo licensing.