Skip to content

PermissionStatus

enumPermissionStatus: Enum<PermissionStatus>

iOS/Android location authorization status.

Name Value Platform
NotDetermined 0 iOS only
Restricted 1 iOS only
Denied 2 iOS & Android
Always 3 iOS & Android
WhenInUse 4 iOS & Android 10+
DeniedAlways 5 iOS & Android

Members

ALWAYS

val ALWAYS:PermissionStatus

Location permissions authorized for always use.

DENIED

val DENIED:PermissionStatus

Location permissions denied by the user.

DENIED_ALWAYS

val DENIED_ALWAYS:PermissionStatus

Permanently denied — the OS will not show the permission dialog again and only the device's Settings app can restore the permission.

Reported by BGGeo.requestPermission for the motion permission on both platforms: Android promotes to this state after two user denials; on iOS a single motion denial is already permanent (iOS never re-prompts), so a denied motion request reports it immediately.

WHEN_IN_USE

val WHEN_IN_USE:PermissionStatus

Location permissions authorized for when-in-use (Android 10+).