setRemoteConfigAutomaticDownload method
- @Deprecated('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('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;
}