Remove devextreme license banner

Discussão em 'Angular' iniciado por Laura, Janeiro 14, 2025.

  1. Laura

    Laura Guest

    Our company currently holds an active subscription to the DevExtreme suite, and we've correctly integrated the license key into our Angular project using Visual Studio Code. However, we are still seeing the banner indicating that the product is in evaluation mode. We are using DevExtreme version v24.1.7, and this is how we've added the license key in the code:

    export const environment = {
    production: false,
    dxLicenseKey: 'ourLicense'
    };


    In the app.component.ts, we have the following:

    constructor() {
    config({ licenseKey: environment.dxLicenseKey });
    }


    Despite this, the banner still says: "For evaluation purposes only. Redistribution prohibited. Please [purchase a license] to continue using DevExpress product libraries (v24.1.7)." I came across a post where a DevExtreme supporter suggested using the following approach:

    DevExpress.config({ licenseKey: 'your license key' });


    However, this approach doesn't work for me because DevExpress is always undefined.

    Continue reading...

Compartilhe esta Página