don / cordova-plugin-ble-central

Bluetooth Low Energy (BLE) Central plugin for Apache Cordova (aka PhoneGap)
Apache License 2.0
951 stars 606 forks source link

No code for bluetoothSerial.clearDeviceDiscoveredListener() #719

Closed sammy00747 closed 4 years ago

sammy00747 commented 4 years ago

Hi!

Seems like although the usage for bluetoothSerial.clearDeviceDiscoveredListener() is present in the API docs, there seems to be no existing function definition for the same.

A quick solution is appreciated.

Thanks in advance.

sammy00747 commented 4 years ago

I had to 'literally' write these lines in /node_modules/@ionic-native/bluetooth-serial/ngx/index.d.ts, after "setDeviceDiscoveredListener(): Observable;":

/**

closing the issue, and waiting for these changes to be implemented.

sammy00747 commented 4 years ago

Sorry to say but this issue is still not solved. Please look into it.

don commented 4 years ago

@sammy00747 it sounds like that code is missing from the Ionic Native wrapper, not this plugin.

sammy00747 commented 4 years ago

Thanks for your response @don!! I would look into this.