tkem / openlap

Slot Car Race Management App for Carrera(R) Digital 124/132
Apache License 2.0
32 stars 24 forks source link

Scanning for BLE devices fails on Android 10 with target SDK 29 #123

Closed tkem closed 4 years ago

tkem commented 4 years ago

Android SDK 29 will be required for publishing applications to the Play Store by November 2020. This is also the default target SDK when using cordova-android 9.0.0.

According to the Android 10/API level 29 release notes, BLE scanning now requires the ACCESS_FINE_LOCATION permission, at least on devices running Android 10 and later. AFAICS, the latest version (1.2.5) of cordova-plugin-ble-central still requests ACCESS_COARSE_LOCATION, so no BLE devices will currently be found on Android 10 devices.

See