Hello,
I was trying to grant access for bluetooth_scan permission and I checked if the device already has the permission and if not we request the permission. However, the application does not appear any popup to allow the permission, and on the code, the action requestPermission retrieves success but the parameter hasPermission returns False.
We are using Mabs10.
Best Regards,
Carlos Costa
The issue likely occurs because bluetooth_scan requires location permissions or a higher API level. Ensure you're also requesting location permissions (e.g., ACCESS_FINE_LOCATION) and that your app targets Android 12+, where bluetooth_scan is enforced separately. Also, verify the permission is declared in the manifest correctly.