stationaryRadius property
[iOS only]
The minimum distance the device must move beyond the stationary location for aggressive background-tracking to engage.
Configuring stationaryRadius: 0
has NO EFFECT. In fact the plugin enforces a minimum stationaryRadius
of 25
and in-practice, the native API won't respond for at least 200 meters.
The following image shows the typical distance iOS requires to detect exit of the stationaryRadius
, where the green polylines represent a transition from stationary state to moving and the red circles locations where the plugin entered the stationary state.:
NOTE: For more information, see Philosophy of Operation
WARNING: iOS will not detect the exact moment the device moves out of the stationary-radius. In normal conditions, it will typically take ~200 meters before the plugin begins tracking.
Implementation
double? stationaryRadius;