Gojs licenseKey for 2.0 version not working in qa env

Hi,
We are upgrading gojs from 1.8.x to 2.1.x
We have 2.1.x licenseKey with “Unlimited domain customer” rights.
We use go.licenseKey = "YourKeyHere"; approach to set the licenseKey.
In localhost its working fine but when we deployed in qa env(its having a domain name), license is no more working.
We did the same approach in 1.8.x and it was working fine.
Any inputs here?

Jubin

Did you follow all of the instructions in the email message that included the new license key?

I need to cross check it. I will check and post here.

Is there any difference in behavior between 1.8.2 and 2.1.2 versions?
Below is my observation between versions -
In 1.8.2, with licenseKey, no watermark for localhost and machine-ip.
In 2.1.2, with licenseKey, no watermark for localhost and watermark for machine-ip.

No, I don’t think there was any change in how the licenseKey was treated.

However, we added the Diagram | GoJS API property as an alternative way of setting go.licenseKey, for those environments where go is not defined. That might happen when you write this kind of import:

import { Diagram, Node, Shape, TextBlock } from "gojs";

But this additional synonym static property would not affect your situation.

Thanks. It worked.