connectivity-samples icon indicating copy to clipboard operation
connectivity-samples copied to clipboard

BluetoothAdapter.startDiscovery() does not work in targetSDKVersion 30

Open ali-ahnaf opened this issue 5 years ago • 1 comments

if the target SDK version is set to 30, the startDiscovery() method always returns false and the broadcast listeners are not activated. However, changing it to a lower version, namely 28 fixes the issue.

ali-ahnaf avatar Jan 28 '21 16:01 ali-ahnaf

Location permission is missing for it.

Vikideveloper avatar Jul 29 '21 05:07 Vikideveloper