Baseflow / Baseflow/flutter-permission-handler

Muiu special permissions?

Open
#1,071 5 comments 4 reactions 0 assignees View on GitHub
P3 platform: android refactor type: enhancement
Dominant language
Dart
Stars
2.2k
Forks
970
Avg merge
14h 22m
Merged PRs (30d)
2

Description

### Is there already an issue requesting this feature?

- [X] I have searched the [existing issues](https://github.com/baseflow/flutter-permission-handler/issues).

### Please select affected platform(s)

- [X] Android
- [ ] iOS
- [ ] Windows

### Use case

In my Xiaomi device there is couple of permissions that I don't know if can be handled programmatically.
![imagen](https://github.com/Baseflow/flutter-permission-handler/assets/73592852/a27b3a12-a192-459c-880f-11d63ce8b55b)

Translated are:
- Show on the lock screen
- Show popup windows while executing in background.

Motivation: I thought that acquiring "System Alert Window" permission was enough to start my foreground service from the backgroud (using Alarm Manager). But in this new phone it seems that this other two permissions are mandatory in order to do that. I don't know if these permissions are Android wide or Xiaomi (Muiu) exclusive. Also I'm wondering if I can get these permissions using this library.

Thank you

### Proposal

See above

### Specific requirements or considerations

_No response_

### Additional information or context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.