disableAutoSyncOnCellular property

bool? disableAutoSyncOnCellular
final

Disable HttpConfig.autoSync HTTP requests when device is connected to a Cellular connection. Defaults to false. Set true to allow HttpConfig.autoSync only when device is connected to Wifi.

WARNING This option is ignored when manually invoking BackgroundGeolocation.sync.

Implementation

final bool? disableAutoSyncOnCellular;