dotintent / react-native-ble-plx

React Native BLE library
Apache License 2.0
2.97k stars 498 forks source link

Auto-disconnection in some Android devices #1222

Open joanmarcs opened 6 days ago

joanmarcs commented 6 days ago

Prerequisites

Expected Behavior

Maintain the connection

Current Behavior

Devices disconnect after some seconds

Library version

3.2.0

Device

Samsung s22 ultra, Pixel, ..

Environment info

-

Steps to reproduce

-

Formatted code sample or link to a repository

-

Relevant log output

-

Additional information

-

joanmarcs commented 6 days ago

Hi @intent-kacper-cyranowski !

As you said to me, I have opened a new issue. I am attaching the logs you asked me in https://github.com/dotintent/react-native-ble-plx/issues/1197#issuecomment-2204467303

EXPECTED BEHAVIOUR: the app connects to the device and ask for his state until the user closes the BLE connection manually

log.txt

BAD BEHAVIOUR: the app connects to the device and ask for his state but connection drops

log2.txt