License warning even after registering the license key in the app

The red popup license warning appears only in the file manager implementation. Other implementations like gantt o charts, not showing warning. I have a paid license. Im using the NPM implementation package.

Image capture of the warning.

Captura de Pantalla 2022-05-28 a la(s) 11.50.15-2.jpg

Here es the code imeplementation for the licence

import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import { Provider } from 'react-redux';
import store from './app/store';

// parámetros para syncfusion
import { registerLicense } from '@syncfusion/ej2-base';
registerLicense(process.env.REACT_APP_SYNCFUSION_LICENSE_KEY);

ReactDOM.render(
<React.StrictMode>
<Provider store={store}>
<App />
</Provider>
</React.StrictMode>,
document.getElementById('root')
);


File manager code

import React, { useEffect } from 'react';
import { useDispatch, useSelector } from 'react-redux';
import { useHistory } from 'react-router-dom';
import styled from 'styled-components';
import {
FileManagerComponent,
Inject,
NavigationPane,
DetailsView,
Toolbar,
} from '@syncfusion/ej2-react-filemanager';

function Archivos() {
const hostUrl = 'https://ej2-aspcore-service.azurewebsites.net/';

return (
<Container>
<FileManagerContainer>
<FileManagerComponent
id="overview_file"
ajaxSettings={{
url: hostUrl + 'api/FileManager/FileOperations',
getImageUrl: hostUrl + 'api/FileManager/GetImage',
uploadUrl: hostUrl + 'api/FileManager/Upload',
downloadUrl: hostUrl + 'api/FileManager/Download',
}}
view={'Details'}
>
<Inject services={[NavigationPane, DetailsView, Toolbar]} />
</FileManagerComponent>
</FileManagerContainer>
</Container>
);
}

5 Replies

GV Gokulraj Varatharajan Syncfusion Team May 30, 2022 08:54 AM UTC

Hi Felipe,


Greetings from Syncfusion support,


We have introduced license key validation for Essential JS2 platforms from the 2022 Volume 1 release. This licensing key validation will enforce the developer to register the valid licensing key in an application while referring to any of the latest packages, either from npm or CDN or build.


For generating and registering a license key please refer to the following documentation.


https://ej2.syncfusion.com/react/documentation/licensing/license-key-generation/


https://ej2.syncfusion.com/react/documentation/licensing/license-key-registration/


https://www.syncfusion.com/blogs/post/introducing-license-key-validation-for-the-essential-js-2-platforms.aspx


Please get back to us if you have any queries.


Regards,

Gokul



FE felipe May 30, 2022 03:19 PM UTC

HI Gokul, thanks for your quick response. But, as you can see in my question, and in the attach codes, I have already introduce the key validation. Please look again my question.



RS Ragunath Sukumaran Syncfusion Team June 2, 2022 12:47 PM UTC

Hi Felipe,


We have validated your reported query, and we created a react filemanager sample,  but we are unable be replicate the reported issue. For your convenience we have attached the sample, please refer the below sample.


Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/filemanager-sample327660219


Please refer the sample and get back to us, if you need any further assistance.



Regards,

Ragunath S



FE felipe June 2, 2022 01:13 PM UTC

Thanks Ragunath, I finally got the problem after looking in your package.json. It was in the @syncfusion/ej2-react-filemanager version. I downgrade from "20.1.57 to 20.1.55" and the warning has gone.




GV Gokulraj Varatharajan Syncfusion Team June 3, 2022 06:50 AM UTC

Hi Felipe,


Thanks for your feedback,


Please get back to us if you have any queries.


Regards,

Gokul


Loader.
Up arrow icon