Forum Discussion
dan79
3 years agoNew Member
IVisualLicenseManager
Im working on a custom visual and in testing all works ok but i am trying to test the Licencing API and when i add the below to my visual i get a white screen and no error message when testing does anyone have any idea what im missing so i can test the licencing api?
private licenseManager:IVisualLicenseManager; into export class Visual implements IVisual
and
this.licenseManager.getAvailableServicePlans().then((result) => {}); into public update(options: VisualUpdateOptions) {
1 Reply
- DanielSallanderNew Member
Hello,
Try adding:
this.licenseManager = options.host.licenseManager
in the constructor method.
BR/Daniel