hello
i installed bluetooth serial cordova plug in my project
but when i write
BluetoothSerial.isEnabled(
function() {
console.log("Bluetooth is enabled");
},
function() {
console.log("Bluetooth is *not* enabled");
}
);
isEnabled give following error
"Property ‘isEnabled’ does not exist on type ‘typeof BluetoothSerial’. "
i used following commands to install plug as documentation said
$ ionic plugin add cordova-plugin-bluetooth-serial
$ npm install --save @ionic-native/bluetooth-serial