Skip to content

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

@danielgomezrico

Description

@danielgomezrico

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions