dpa99c / cordova-diagnostic-plugin

Cordova/Phonegap plugin to manage device settings
539 stars 361 forks source link

Support new Android 12 Bluetooth runtime permissions #460

Closed andreyluiz closed 2 years ago

andreyluiz commented 2 years ago

Feature request

According to the Android Developer documentation, new Bluetooth runtime permissions have been implemented and will be supported from Android 12 and above.

This plugin still doesn't support it.

I have a fork with a basic and working implementation. Check here. I won't create a PR right now because this commit lacks documentation and supports only the permissions I need in my project. But I have the intention to do so in the future if nobody does it first.

zmoshansky commented 2 years ago

Should be resolved when https://github.com/dpa99c/cordova-diagnostic-plugin/pull/465 lands

dpa99c commented 2 years ago

This has been fixed in the major version cordova.plugins.diagnostic@7.0.0 which has just been released to npm. Please re-test with this new version and feedback any issues.