Describe the bug
When running the KMM example on a device with android 10+, the scan fails and the following error appears in logcat:
BluetoothUtils: Permission denial: Need ACCESS_FINE_LOCATION permission to get scan results
For scanning BLE devices on android 10+, app needs to access ACCESS_FINE_LOCATION instead of ACCESS_COURSE_LOCATION as stated in the android developers blog.
To Reproduce
Steps to reproduce the behavior:
Run KMM example on android 10+ device.
Give the permission
No device will found
Take a look into logcat, you will see the permission error
Expected behavior
I expect to see the list of devices that available.
Smartphone (please complete the following information):
Device: Google pixel 4a
OS: Android 11
Additional context
Add any other context about the problem here.
Describe the bug When running the KMM example on a device with android 10+, the scan fails and the following error appears in logcat:
BluetoothUtils: Permission denial: Need ACCESS_FINE_LOCATION permission to get scan results
For scanning BLE devices on android 10+, app needs to accessACCESS_FINE_LOCATION
instead ofACCESS_COURSE_LOCATION
as stated in the android developers blog.To Reproduce Steps to reproduce the behavior:
Expected behavior I expect to see the list of devices that available.
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.