cordova-plugin-bluetoothle
cordova-plugin-bluetoothle copied to clipboard
Android 12 support #718
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.