setRemoteConfigAutomaticDownload method

CountlyConfig setRemoteConfigAutomaticDownload(
  1. bool enabled,
  2. dynamic callback(
    1. String? error
    )
)

If enable, will automatically download newest remote config values. enabled set true for enabling it callback callback called after the update was done

Implementation

CountlyConfig setRemoteConfigAutomaticDownload(bool enabled, Function(String? error) callback) {
  _enableRemoteConfigAutomaticDownload = enabled;
  Countly.setRemoteConfigCallback(callback);
  return this;
}