Began to study Apache Cordova, development is conducted in the Visual Studio on ASP. NET MVC.

When existing plugins are added to the project, all scripts work correctly. Without adding links to the view. But it is only necessary to connect a third-party plugin, such as Barcode Reader, there are problems.

I load the plugin with nuget into the project, it is downloaded and added to the plugins / plugin_name directory. But when calling the function and initializing the plug-in, as described in the documentation, an error appears in the console that there is no such object.

Tell me, please, is it necessary to add a link to the view to the script of the installed plug-in itself or not? and then create a function object

    0