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

Android 12 support #718

Open Cyb0org opened this issue 2 years ago • 0 comments

Hi.

I've made additional methods to ask for each of the new Android 12 permissions. I haven't renamed current one to something like hasPermissionLocation so it won't break any current code. It could be deprecated later probably.

I haven't also add minSdkVersion/maxSdkVersion to uses-permission because that could mess with other plugins and AndroidManifest.xml merging.

I also haven't add neverForLocation to BLUETOOTH_SCAN so ACCESS_FINE_LOCATION is still needed, but because of this the plugin will allow search for all of the devices.

Bluetooth permissions - Android developers

Cyb0org avatar Jul 28 '22 16:07 Cyb0org