Skip to content

[Question]: Android emulator bug with BODY_SENSORS #1506

@schmru

Description

@schmru

Please check the following before submitting a new issue.

Please select for which platform(s) you need help

  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions