Skip to content

LocationRequest

export const LocationRequest = {

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 GeoConfig.locationAuthorizationRequest


Members

Always

Request full background + foreground authorization.

Any

Accept either Always or WhenInUse (no specific request).

WhenInUse

Request foreground-only authorization.