From e830259bebdb20a5dfef9d8bde4dde7cb84cfae2 Mon Sep 17 00:00:00 2001 From: Maxim Belov Date: Sun, 13 Oct 2024 17:45:52 +0300 Subject: [PATCH] feat(bluetooth-classic-serial-port): add method initialize (#4847) * feat(bluetooth-classic-serial-port): add method initialize * Update index.ts --- .../plugins/bluetooth-classic-serial-port/index.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/@awesome-cordova-plugins/plugins/bluetooth-classic-serial-port/index.ts b/src/@awesome-cordova-plugins/plugins/bluetooth-classic-serial-port/index.ts index 606545b00..fb876b616 100644 --- a/src/@awesome-cordova-plugins/plugins/bluetooth-classic-serial-port/index.ts +++ b/src/@awesome-cordova-plugins/plugins/bluetooth-classic-serial-port/index.ts @@ -63,6 +63,16 @@ export interface BluetoothClassicSerialPortDevice { }) @Injectable() export class BluetoothClassicSerialPort extends AwesomeCordovaNativePlugin { + /** + * Initialize + */ + @Cordova({ + platforms: ['Android', 'iOS'], + }) + initialize(): Promise { + return; + } + /** * Connect to a Bluetooth device *