Location Permission Manager
object LocationPermissionManager
Singleton to manage Android's Location Permissions.
Currently this will only request Foreground Location permissions:
ACCESS_FINE_LOCATION
ACCESS_COARSE_LOCATION
Location updates are considered available if any of those are granted.
Functions
Link copied to clipboard
Add an action to be called when the user grants some location permissions or if they are already granted.
Link copied to clipboard
Checks if all foreground location permissions are granted.
Link copied to clipboard
Checks if at least one of the foreground location permissions are granted.
Link copied to clipboard
Link copied to clipboard
Remove an action that was called when the user grants some location permissions or if they were already granted.
Link copied to clipboard
Request location permissions to the user.