Hi, is anyone know how to correctly import Cordova plugins using JS ( files or in the event sheet)
The project has been added to the Xcode, but the app can't find it since there is no working Import call from inside the app.
Here is an example how developer of the plugin adding it in regular code, but adding it to cunstruct JS i see an error in the xcode console that this plugin is not found:
import * as 'ProjectName' from 'cordova-plugin-yandex-ads/www/yandexads';
await ProjectName.init({ ]}
This line has been added to the js block OnStart of layout.
Please help!