react-native-background-geolocation@5.0.0-beta.1
    Preparing search index...

    Variable LocationRequestConst

    LocationRequest: { Always: "Always"; WhenInUse: "WhenInUse"; Any: "Any" } = ...

    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

    Type Declaration

    • ReadonlyAlways: "Always"
    • ReadonlyWhenInUse: "WhenInUse"
    • ReadonlyAny: "Any"