cordova-plugin-bluetoothle
cordova-plugin-bluetoothle copied to clipboard
IOS: function isConnected throw error "neverConnected"
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.