cordova-plugin-bluetoothle icon indicating copy to clipboard operation
cordova-plugin-bluetoothle copied to clipboard

IOS: function isConnected throw error "neverConnected"

Open ebeling opened this issue 4 years ago • 0 comments

I use your plugin for a long time. Thank you for this great implementation! Now I use function "isConnected" and I'm amazed about it in IOS: Why this function throw an error, if it was never connected before? If it was never connected before I also expect the return value "false". I have see in "BluetoothLePlugin.m" in implementation of "isConnected" you call NSMutableDictionary* connection = [self wasNeverConnected:address :command]; and this function throw the error.

ebeling avatar May 28 '20 14:05 ebeling