DefaultLocationPermissionManager
The BasePermissionManager to use as a default for LocationPermission
Parameters
the Context the LocationPermission is to be granted in
the LocationPermission to manage
the Settings to apply to this manager.
the CoroutineScope of this manager.
The default Apple BasePermissionManager for LocationPermission.
The request/monitoring flow is identical across Apple targets; the genuinely platform-specific pieces are delegated to configureForLocationPermission, locationUsageDescriptions, CLLocationManager.requestLocationAuthorization and CLLocationManager.authorizationStatus.
Parameters
the LocationPermission to manage
the Settings to apply to this manager.
the CoroutineScope of this manager.
the NSBundle the LocationPermission is to be granted in
The BasePermissionManager to use as a default for LocationPermission
The default BasePermissionManager for LocationPermission on the JS family (js + wasmJs).
Backed by the W3C Permissions API: navigator.permissions.query({ name: 'geolocation' }) is polled on the monitoring interval (the onchange callback can't be marshaled cleanly across the JS family). The browser exposes no programmatic permission request, so requestPermissionDidStart triggers the prompt by issuing a one-shot getCurrentPosition. background/precise distinctions don't exist on the web.
Parameters
the LocationPermission to manage
the Settings to apply to this manager.
the CoroutineScope of this manager.