don / cordova-plugin-ble-central

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

isConnected always returns false #1033

Closed markamccorkle closed 2 months ago

markamccorkle commented 2 months ago

On the latest 1.7.7, calling isConnected on iOS is always returning false. Reverting to 1.7.4 fixes the issue.

youssefadel94 commented 2 months ago

reverting to 1.7.4 causes the issue of malformed service uuid

peitschie commented 2 months ago

@markamccorkle is this just using ble.isConnected? Or are you using ble.withPromises.isConnected?

@youssefadel94 are you able to share the exact error you're seeing there? 1.7.4 did not have the UUID validation code in it, so I wonder what the issue you're seeing there.

markamccorkle commented 2 months ago

I can dig in further to see what the ionic native wrapper uses, but this is the latest ionic capacitor.

peitschie commented 2 months ago

Found the issue! MR up shortly

peitschie commented 2 months ago

Fix is released in version 1.7.8