Bluetooth scan not working in Android 12

Describe your issue

Bluetooth admin AfterScanning function is never invoked

Steps to reproduce the issue

Add the Bluetooth admin component, a notifier and a button. When the button is clicked call BluetoothAdmin.Scan and put in BluetoothAdmin.AfterScanning an alert display with a message.

Expected Behaviour

The message is displayed after scanning.

Actual Behaviour

The message is never displayed

Show your Block

Android version

12