react-native-ble-plx icon indicating copy to clipboard operation
react-native-ble-plx copied to clipboard

fix(android): remove device from discovered devices cache

Open benletchford opened this issue 8 months ago • 0 comments

The way discoveredDevices is handled is quite suspect.

This PR addresses issue #1279 by removing devices from the discovered devices cache in the Android implementation when they're no longer available. This should allow devices that go out of range and then return to be properly rediscovered during subsequent scans. This is a potential fix that needs further testing in various environments to confirm it resolves the issue completely.

benletchford avatar Jun 18 '25 10:06 benletchford