We have a global state in our app with the key doNotAskForLocationPermission. It seems to be complicate understanding of the code flow more difficult than it should be. We need to explore ways to completely remove the same and handle it in other ways that are more maintainable.
The following is the PR comment that led to the creation of this issue: #5494 (comment)
That PR seems to already reduce our dependence on the doNotAskForLocationPermission global state to some extent. This issue is about refactoring the code such that we no longer need it at all. Feel free to propose solutions that could help us achieve this.