Skip to content

LocationAuthorizationRequest

enumLocationAuthorizationRequest: Enum<LocationAuthorizationRequest>

Indicates what level of location authorization the SDK should request.

Name Value Description
Always "Always" Request full background + foreground authorization.
WhenInUse "WhenInUse" Request foreground-only authorization.
Any "Any" Accept either Always or WhenInUse (no specific request).

Mirrors native iOS authorization request options and existing RN adapter keys.

See GeolocationConfig.locationAuthorizationRequest


Members

ALWAYS

val ALWAYS:LocationAuthorizationRequest

Request full background + foreground authorization.

ANY

val ANY:LocationAuthorizationRequest

Accept either Always or WhenInUse (no specific request).

WHEN_IN_USE

val WHEN_IN_USE:LocationAuthorizationRequest

Request foreground-only authorization.