Skip to content

FEATURE ADD REQUEST: requestResolution / requestResolutionSettings should return the option selected by user, and more. #216

@SnehasisSahoo

Description

@SnehasisSahoo

ISSUE 1:
As of now the requestResolution() method from the Hook or requestResolutionSettings() method does not return what option the user selected. It would be really helpful if those methods were promises and returned the option selected by the user. Because currently if the user selects no thanks, there is no way for us prompt again automatically.
Or if there is any other solution to my problem in the current state please suggest.

ISSUE 2:
The current checkSetting() method doesn't return true or false it returns void, there is no methods to check if LOCATION setting is turned on or not. I suggest checkSetting() method to return a boolean or add a separate method to check GPS (LOCATION) setting status of device. Or if there is a way without using listener to get the status of the mentioned setting, please let me know.
PS.: I should clarify I am not talking about location permissions, but the state of location / GPS turn on/off feature in android.

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