React Native Location
    Preparing search index...

    Interface Manager

    The skeleton of the Manager class.

    interface Manager {
        checkGps: () => Promise<boolean>;
        openGps: () => Promise<boolean>;
        redirectGps: () => Promise<boolean>;
        redirectGpsAlert: (options?: ManagerRedirectOptions) => Promise<boolean>;
    }
    Index

    Properties

    checkGps: () => Promise<boolean>

    Checks whether GPS/location services are currently enabled on the device.

    openGps: () => Promise<boolean>

    Attempts to programmatically enable GPS/location services on the device. It is only supported on the Android platform.

    redirectGps: () => Promise<boolean>

    Redirects the user to the device's GPS/location settings page.

    redirectGpsAlert: (options?: ManagerRedirectOptions) => Promise<boolean>

    Shows an alert to the user that requests them to enable GPS, and optionally provides customization via options.