VNAPNIC / flutter_nearby_connections

Flutter plugin support peer-to-peer connectivity and the discovery of nearby devices for Android vs IOS
https://pub.dev/packages/flutter_nearby_connections
BSD 2-Clause "Simplified" License
106 stars 68 forks source link

Connections are impacted by other Bluetooth devices #42

Open mgeilich opened 2 years ago

mgeilich commented 2 years ago

Under Android, even when using Strategy.Wi_Fi_P2P, nearby_connections receives Bluetooth connection change callbacks from non-P2P devices, causing it to erroneously drop connections. In our case it is a Bluetooth low-energy device causing the issue. A good solution if possible might be to have nearby_connections check to see what device has issued the callback and to ignore connection dropped messages from non-connected devices..