iOS. Device is connected but then is disconnected in 3 - 5 seconds
Expected Behavior
The device is connected and is not disconnected automatically.
Current Behavior
The device is connected but then is disconnected in 3 - 5 seconds
Steps to Reproduce
- Created a clean react native project.
- Scanned for online devices.
- Connected to the device.
- After several seconds the device is not connected anymore.
- If reconnect again, the picture is the same - it is connected for several seconds and then is disconnected automatically. The disconnection event does not contain any error (event is fired, but the error is null)
Tried on some other demo projects and used other devices (tested by customers) - the behavior is the same. The issue is not present on Android devices.
Context
- Library version: 2.0.3
- Platform: iOS 16.
- Device: iPhone 12 Pro
- BLE device: Fitness tracker Samsung Gear Fit2 (7987)
i'm having the same issue, have you found any workaround @olegderecha ?
in my case we made changes to the FW of the ble device in order to fix the disconnect issue. https://devzone.nordicsemi.com/f/nordic-q-a/92003/getting-continuous-disconnects-with-ios-16/386457 https://developer.apple.com/accessories/Accessory-Design-Guidelines.pdf
I'm excited to inform you that we've released a new version of react-native-ble-plx. Many of the concerns and bugs have been addressed in this update.
If you encounter any issues or have further suggestions, please don't hesitate to open a new issue.