Paul Abbott
Paul Abbott
Thanks for making this fix. I'm having trouble installing it. I'm using [cordova-plugin-zeroconf](https://github.com/becvert/cordova-plugin-zeroconf) which depends on this. I tried the steps above but the version of this plugin in plugins/cordova-plugin-add-swift-support/...
If a device is already paired/bonded, then it won't be discovered with startScan(). (this is my experience on Android 7 ~ 10 and iOS) You have to also check for...
I think you should start a read or write to a characteristic that requires encrypted connection. That would trigger the pairing dialog if it isn't already completed. Then wait on...
FYI i tested this branch by doing this: ``` npm install VinardoZzZ2000/cordova-plugin-bluetoothle#fix/per-peripheral-queues --save cordova plugin remove cordova-plugin-bluetoothle cordova plugin add cordova-plugin-bluetoothle cordova prepare android ``` I'm still having reconnect problems....
Ok, I can't say that your additions broke the reconnect() functionality in this library. But they definitely seem broken. This PR does not fix the reconnect after an explicit disconnect()....
Note that I can workaround the issue by calling close() after the pause event. But then the connect on resume takes a bit longer.
Sorry I know I should debug it further, but I'm not familiar with the Android source and debug tools. The workaround I mentioned above is working for me at the...
@max-scopp what did the PR #707 fix for you? It didn't help my case. Seems to me there's more logic fixes needed in the native code to keep the callbacks...
It seems the autoconnect / reconnect feature was first discussed here: https://github.com/randdusing/cordova-plugin-bluetoothle/issues/333 And seems it was left in the state where it could only be used like this: Connect(autoconnect=false) =triggers=>...
Another observation: When I initially connect with (autoconnect:true), the Android (and iOS?) takes anywhere from 1~20 seconds to even begin the connection attempt. I verified that the delay is from...