capacitor-community / bluetooth-le

Capacitor plugin for Bluetooth Low Energy
MIT License
284 stars 86 forks source link

Improvement: add timeout options for api disconnect #647

Closed corentin35000 closed 6 months ago

corentin35000 commented 7 months ago

Hello, I added a new timeout parameter for disconnection, I found it strange but the wrapper (typescript) to the native code does not expose 'timeout' while in the function definition of the native code can very do it well! One forgets ? Here is a PR and related to this issue: https://github.com/capacitor-community/bluetooth-le/issues/644