autoSync property

bool? autoSync
getter/setter pair

Immediately upload each recorded location to your configured url.

Default is true. If you've enabled HTTP feature by configuring an url, the plugin will attempt to HTTP POST each location to your server as it is recorded. If you set autoSync, it's up to you to manually execute the BackgroundGeolocation.sync method to initiate the HTTP POST.

Note: The plugin will continue to persist every recorded location in the SQLite database until you execute BackgroundGeolocation.sync.

See also:

Implementation

bool? autoSync;