cordova-plugin-bluetoothle icon indicating copy to clipboard operation
cordova-plugin-bluetoothle copied to clipboard

Scan won't pick up any devices on Android 10 after Capacitor 2 upgrade.

Open AnthoneeWilliams opened this issue 5 years ago • 1 comments

Hello, I updated my Ionic project from Capacitor 1.5 to 2 and ran into an issue with one of my test devices. I have 3 test device running on Android 8, 9, and 10. The 8 and 9 devices still functioned as expected, picking up the Bluetooth devices, however, the 10 device would not. I didn't seem to be getting any errors in the logs and after I rolled back to Capacitor 1.5 it worked again. I'm a bit time constrained at the moment by I did do a little research on the issue and found something indicating that android 10 requires additional permission to access ble called ACCESS_BACKGROUND_LOCATION. I added this permission request to the project using another plugin but it didn't seem to help. As of now I have rolled back to Capacitor 1.5 and will continue development on it.

AnthoneeWilliams avatar Apr 17 '20 01:04 AnthoneeWilliams

Looks related to this: #579 I don't have any Android devices any longer, so someone else will need to test and raise a PR.

randdusing avatar Apr 26 '20 03:04 randdusing