Skip to content

AuthorizationStatus

export const AuthorizationStatus = {

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

Location permissions authorized for always use.

Denied

Location permissions denied by the user.

DeniedAlways

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

Reported by BackgroundGeolocation.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.

NotDetermined

NotDetermined: 0,

User has not yet made a choice regarding location permissions.

Restricted

Restricted: 1,

Location permissions are restricted (e.g., parental controls).

WhenInUse

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