setRemoteConfigAutomaticDownload method
- @Deprecated('This function is deprecated, please use remoteConfigRegisterGlobalCallback instead')
If enable, will automatically download newest remote config values. enabled set true for enabling it callback callback called after the update was done
Implementation
@Deprecated('This function is deprecated, please use remoteConfigRegisterGlobalCallback instead')
/// If enable, will automatically download newest remote config values.
/// enabled set true for enabling it
/// callback callback called after the update was done
CountlyConfig setRemoteConfigAutomaticDownload(bool enabled, Function(String? error) callback) {
_enableRemoteConfigAutomaticDownload = enabled;
Countly.setRemoteConfigCallback(callback);
return this;
}