maxBatchSize property
Controls the number of records attached to each batch HTTP request.
Defaults to -1
(no maximum). If you've enabled HTTP feature by configuring an url with batchSync: true, this parameter will limit the number of records attached to each batch request. If the current number of records exceeds the maxBatchSize
, multiple HTTP requests will be generated until the location queue is empty.
The plugin can potentially accumulate mega-bytes worth of location-data if operating in a disconnected environment for long periods. You will not want to batchSync:true a large amount of data in a single HTTP request.
See also: HTTP Guide at HttpEvent.
Implementation
int? maxBatchSize;