Skip to content

LocationAuthorizationRequest

public enumLocationAuthorizationRequest: String

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

case always = "Always"

Request full background + foreground authorization.

any

case any = "Any"

Accept either Always or WhenInUse (no specific request).

whenInUse

case whenInUse = "WhenInUse"

Request foreground-only authorization.