Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Await do not await until the permission was accepted or denied #17

Open
danielgomezrico opened this issue Mar 12, 2024 · 0 comments
Open

Comments

@danielgomezrico
Copy link

Hi, thanks for this library.

All show methods do not wait until the user did the action to return:

final result = await DisableBatteryOptimization.showDisableAllOptimizationsSettings
print(result); // Prints true even if the user is still seeing the dialog

Expected

It should wait until the dialog is accepted/denied and then return with that value true/false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant