timeout: The time interval between API calls, measured in milliseconds.
Value Type: Number
Example: 1000 milliseconds = 1 second
data (Optional): Extra data to send along with the location update. Useful for identifying users or adding metadata. Can also use query parameters.
Value Type: JSON object
Example: { "keyName": "value" }
backgroundIndicator (Optional, iOS Only): Modifies the iOS status bar to indicate that the app is using location services when in the background.
Value Type: Boolean
Default Value: false
pauseAutomatically (Optional, iOS Only): When set to "true," The location manager pauses updates (and powers down hardware) when location data is unlikely to change, improving battery life.
Value Type: Boolean
Default Value: true
distanceFilter: The minimum horizontal distance (in meters) a device must move before an update is generated.
Value Type: Double
Default Value: 0.0 meters
Example: If set to 10.0, data is logged only after the device moves 10 meters.
desiredAccuracy (Optional, iOS Only): The desired accuracy of location data. Higher accuracy increases battery consumption.
Value Type: String
Default Value: best
Possible Values:
best : The best accuracy possible (default).
bestForNavigation: Highest accuracy using additional sensor data for navigation apps.
tenMeters: Accurate to within 10 meters.
hundredMeters: Accurate to within 100 meters.
kilometer: Accurate to the nearest kilometer.
threekilometers: Accurate to the nearest 3 kilometers.
activityType (Optional, iOS Only): The user activity associated with location updates.
Value Type: String
Default Value: other
Possible Values:
other: Unknown activity (default).
automotiveNavigation: Vehicular navigation for automobiles.