On a Android 13 (Tiramisu) phone, runtime permissions are required for BLUETOOTH_CONNECT. Therefore, if you launch the app on this phone and attempt to connect to a BT device, you will get an app crash and this exception:
_Caused by: java.lang.SecurityException: Need android.permission.BLUETOOTH_CONNECT permission for AttributionSource { uid = 10408, packageName = dev.bluefalcon, attributionTag = null, token = android.os.BinderProxy@5607825, next = null }: GattService registerClient_
To Reproduce
Steps to reproduce the behavior:
Install the app on a Android 13 (Tiramisu) phone.
Launch the app.
Wait for BT devices to show up.
Click on a BT device.
Observe the app crashes.
Expected behavior
A clear and concise description of what you expected to happen.z
Upon clicking on a BT device, the app should successfully perform a BT CONNECT operation.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
Describe the bug
On a Android 13 (Tiramisu) phone, runtime permissions are required for BLUETOOTH_CONNECT. Therefore, if you launch the app on this phone and attempt to connect to a BT device, you will get an app crash and this exception:
_Caused by: java.lang.SecurityException: Need android.permission.BLUETOOTH_CONNECT permission for AttributionSource { uid = 10408, packageName = dev.bluefalcon, attributionTag = null, token = android.os.BinderProxy@5607825, next = null }: GattService registerClient_
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.z
Upon clicking on a BT device, the app should successfully perform a BT CONNECT operation.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.