flutter-permission-handler icon indicating copy to clipboard operation
flutter-permission-handler copied to clipboard

[Question]: Android emulator bug with BODY_SENSORS

Open schmru opened this issue 1 month ago • 0 comments

Please check the following before submitting a new issue.

Please select for which platform(s) you need help

  • [x] Android
  • [ ] iOS
  • [ ] Windows

Your question

Hello,

I am using this package for BODY_SENSORS permissions, I used version 11.3.1 with emulator and it worked fine. Now when I updated to latest version 12.0.1 the permission popup doesn't show any more and the status is always returned as "denied".

The code I am using:

await Permission.sensors.request().then((value) async {
        if (value.isGranted) {
         ...
        } else {
         ...
        }
      });

It always go into else without showing dialog. On the emulator I am using Android 16 with API 36, flutter 3.35.7 and Dart 3.9.2

Can someone please direct me into any direction that might help.

Version

12.0.1

schmru avatar Dec 01 '25 15:12 schmru