Assigned
Status Update
Comments
al...@google.com <al...@google.com>
ia...@gmail.com <ia...@gmail.com> #2
Forgot to note the environment.
This crash occurs on only API 21.
This crash occurs on only API 21.
Description
Version used: 1.0.0-alpha02
Devices/Android versions reproduced on:
Pixel 7a Android 14
If this is a bug in the library, we would appreciate if you could attach:
- Sample project to trigger the issue.
- A screenrecord or screenshots showing the issue (if UI related).
In my ViewModel I had
private val bluetoothLe: BluetoothLe = BluetoothLe(context = applicationContext)
I started my compose screen with Bluetooth off, then turned it on in the upper bar OS settings, my App catched the change and tried to connect calling bluetoothLe.scan(listOf(scanFilter)).timeout(60.seconds).collect
Nothing happened anymore after that, no crash, no timeout, nothing!
If you initialize bluetoothLe while bluetooth is ON it works without problem.
Btw. on this website