setRemoteConfigAutomaticDownload static method
- @Deprecated('This function is deprecated, please use "remoteConfigRegisterDownloadCallback" of CountlyConfig instead')
- dynamic callback()
Set Automatic value download happens when the SDK is initiated or when the device ID is changed. Should be call before Countly init returns the error or success message
Implementation
@Deprecated('This function is deprecated, please use "remoteConfigRegisterDownloadCallback" of CountlyConfig instead')
static Future<String?> setRemoteConfigAutomaticDownload(Function(String?) callback) async {
log('Calling "setRemoteConfigAutomaticDownload"');
log('setRemoteConfigAutomaticDownload is deprecated, use setRemoteConfigAutomaticDownload of CountlyConfig instead', logLevel: LogLevel.WARNING);
final String? result = await _channel.invokeMethod('setRemoteConfigAutomaticDownload');
callback(result);
return result;
}