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+

MembersΒΆ

AlwaysΒΆ

Location permissions authorized for always use.

DeniedΒΆ

Location permissions denied by the user.

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+).