React Native Location
    Preparing search index...

    Type Alias CurrentOptions

    This configuration is used for location-get.

    {
    accuracy: 'high',
    timeout: 10000,
    background: false,
    }
    type CurrentOptions = {
        accuracy?: CurrentAccuracy;
        background?: boolean;
        timeout?: number;
    }
    Index

    Properties

    accuracy?: CurrentAccuracy

    Desired accuracy level.

    'high'
    
    background?: boolean

    Setting to get location when the app is in the background.

    false
    
    timeout?: number

    Maximum time in milliseconds to wait before timing out.

    10000