Type Alias: RNLocationConfig
type RNLocationConfig = {
android?: RNAndroidLocationConfig;
enabled?: boolean;
heading?: RNHeadingConfig;
ios?: RNIOSLocationConfig;
};
Location configuration.
Properties
| Property | Type | Default value | Description |
|---|---|---|---|
android? | RNAndroidLocationConfig | Android-specific location configuration. See RNAndroidLocationConfig. | |
enabled? | boolean | false | Enables location updates. Location updates also run while myLocationEnabled is set. |
heading? | RNHeadingConfig | Compass heading configuration. See RNHeadingConfig. | |
ios? | RNIOSLocationConfig | iOS-specific location configuration. See RNIOSLocationConfig. |