remoteConfigUpdate static method
Implementation
@Deprecated('Use remoteConfigDownloadValues instead')
static Future<String?> remoteConfigUpdate(Function(String?) callback) async {
if (!_instance._countlyState.isInitialized) {
String message = '"initWithConfig" must be called before "remoteConfigUpdate"';
log('remoteConfigUpdate, $message', logLevel: LogLevel.ERROR);
return message;
}
log('Calling "remoteConfigUpdate"');
final String? result = await _channel.invokeMethod('remoteConfigUpdate');
callback(result);
return result;
}