How to call Cordova plugin in framework7

How can I call a Cordova plugin in framework 7 core, for example device.uuid

Check this post. It´s use Phonegap build,. but you can adapt to your needs.
First you install the plugin and then call in your JS file, every plugin is different. So there’s more than one solution.

I want to call a plugin like barcodescanner so I can use it in framework7 core

For that plugin, follow the instruction
Install from comand line

cordova plugin add cordova-plugin-barcodescanner

In config.xml add (only android):

<config-file target="AndroidManifest.xml" parent="/*" mode="merge">
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-feature android:name="" />
    <uses-feature android:name="" />

Example (from the docs):

      function (result) {
          alert("We got a barcode\n" +
                "Result: " + result.text + "\n" +
                "Format: " + result.format + "\n" +
                "Cancelled: " + result.cancelled);
      function (error) {
          alert("Scanning failed: " + error);

you need to adapt to your needs.

To be more precised, on the js folder where we have app.js cordova-app.js, framework7-custom.js, routes.js and store.js…

I think invoking of Cordova api has to be in cordova-app.js or app.js. pkwaaw someone should help out…thanks in asvancw

In app.js after device ready.

@Fernando_Romero please kindly drop a sample code thanks bro