pausesLocationUpdatesAutomatically property
[iOS only]
Configure iOS location API to never automatically turn off.
WARNING: This option should generally be left undefined
. You should only specify this option if you know exactly what you're doing.
The default behavior of the plugin is to turn off location-services automatically when the device is detected to be stationary for stopTimeout minutes. When set to false
, location-services will never be turned off (and disableStopDetection will automatically be set to true
) -- it's your responsibility to turn them off when you no longer need to track the device. This feature should not generally be used. preventSuspend will no longer work either.
Implementation
bool? pausesLocationUpdatesAutomatically;