Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Multiple connection and BLE notification callback in android on re-connection #246
The application is getting multiple connection call backs and redundant notifications after the re-connections.
Steps to reproduce
2.Take the BLE device out of the bluetooth range. The BLE device disconnects from the app I receive only one "BLE device disconnected" callback . All fine here as well.
3.Bring the BLE device back in bluetooth range. App would automatically reconnects but I am getting 2
I did some sort of debugging in Plugin.BLE.Android and I have some observations regarding the root cause of this problem -
Application should receive only one set of connection callbacks and only one set of BLE notifications.
Version of the Plugin: 1.3.0 (Master branch)
Platform: Android 7.1
Device: Google Pixel