How to connect to BLE devices using Kotlin?
So I am trying to connect a BLE bluetooth device to my android app (and after I manage that write to it, read from it + set notifying), but to no avail. I am new to Kotlin, but have some experience with core bluetooth. So right now android studio is saying at many places that I need to add a permission check, but that seems strange to me, because I implemented 1 check before starting the scan? That is why I think I am doing something wrong with the permissions, or am I approaching the whole...