openLocationSettings

abstract fun openLocationSettings()

Opens the platform Settings page where the user can toggle the system- level Location Services master switch.

  • Android — launches ACTION_LOCATION_SOURCE_SETTINGS.

  • iOS — opens the AFCore consumer app's settings page (iOS exposes no documented deep-link to the master switch). Pair with consumer-side UI copy explaining the path: Privacy & Security → Location Services.

Distinct from openAppSettings: use this only when areLocationServicesEnabled returns false or subscribeToStatus emits AFGeofencingStatus.LOCATION_SERVICES_DISABLED. Use openAppSettings when the master switch is on but the user has denied the consumer app's per-app location permission.