Baseflow / Baseflow/flutter-permission-handler
[Question]: Android emulator bug with BODY_SENSORS
- Dominant language
- Dart
- Stars
- 2.2k
- Forks
- 970
- Avg merge
- 14h 22m
- Merged PRs (30d)
- 2
Description
### Please check the following before submitting a new issue.
- [x] I have searched the [existing issues](https://github.com/baseflow/flutter-permission-handler/issues).
- [x] I have carefully [read the documentation](https://github.com/baseflow/flutter-permission-handler/blob/main/permission_handler/README.md).
### 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
Contributor guide
Assessment
This issue has not been assessed yet.