openAppSettings

abstract fun openAppSettings()

Opens this app's settings page, where location permission is granted.

Use it when visit detection reports PERMISSIONS_DENIED (or the member kept "While Using" and visit detection needs "Always") - the system switch is on, but this app's own permission is missing. Replaces facilities().openAppSettings().

Android (Kotlin)

openSettingsButton.setOnClickListener { AFCore.locations().openAppSettings() }

iOS (Swift)

Button("Open Settings") { AFCore.shared.locations().openAppSettings() }