Skip to content

Conversation

@mdmohsin7
Copy link
Member

No description provided.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request addresses an issue where Bluetooth devices might not appear on Android due to permissions not being fully settled. It introduces a delay before scanning to mitigate this. It also improves robustness by adding a timeout when waiting for the Bluetooth adapter to turn on and fixes a bug with a redundant delay after scanning.

My review focuses on improving maintainability. I've suggested adding a comment to explain the purpose of the new delay and adhering to the existing BluetoothAdapter abstraction instead of using FlutterBluePlus directly.

@mdmohsin7 mdmohsin7 marked this pull request as draft January 21, 2026 13:36
mdmohsin7 and others added 5 commits January 21, 2026 19:09
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@mdmohsin7 mdmohsin7 marked this pull request as ready for review January 22, 2026 13:54
@mdmohsin7 mdmohsin7 merged commit fe9ba10 into main Jan 22, 2026
1 check passed
@mdmohsin7 mdmohsin7 deleted the device-not-showing branch January 22, 2026 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants