Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: timeout killing working connection #1226

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

g4rb4g3
Copy link
Contributor

@g4rb4g3 g4rb4g3 commented Jul 11, 2024

Doing a BleManager.connectToDevice with a timeout specified makes the timeout fire event though the connection is established just fine. Reason is that the timeout on Android side is applied to every emitted item when it has to be applied only to the first one. This PR fixes that. 😃

@intent-kacper-cyranowski
Copy link
Collaborator

Thank you for PR!
I will confirm that it works fine and if so include it in next version

@niclaslindberg
Copy link

niclaslindberg commented Aug 9, 2024

Question: See this fix is merged to master. Any ETA for it to be available on npm?

Thanks for all the good work! :)

akabane-noex pushed a commit to akabane-noex/react-native-ble-plx that referenced this pull request Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants