How to use a Cordova plugin with Framework7-Vue Webpack starter app template [v2]

Hello everyone

I am trying to develop a new application using Framework7-Vue Webpack starter app template.

I made this thing with the previous Framework7 version but now I am not able to use a Cordova plugin correctly.

ble plugin URL:

example of a function I want to use:

ble.isEnabled(
    function() {
        console.log("Bluetooth is enabled");
    },
    function() {
        console.log("Bluetooth is *not* enabled");
    }
);

this object is not recognized by my application in main.js

Thanks for your help :slight_smile:

1 Like

+1 for this challenge, I’ll add another post with other information

These folks seemed to have resolved: Cordova-plugin-qrscanner issue

1 Like

Thank you for your answer.

If you want to implement a Cordova app you don’t need to add anything to use a plugin.

I am able tu use ble object and its methods.