From 4570c3df11fd1add9d0d370492173c0f5fd2c2fb Mon Sep 17 00:00:00 2001 From: HUI Date: Fri, 9 Jun 2023 11:06:13 +0800 Subject: [PATCH] fix: `setLogFileSize` throw --- lib/src/agora_rtm_client.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/src/agora_rtm_client.dart b/lib/src/agora_rtm_client.dart index c488f20..5ef67da 100644 --- a/lib/src/agora_rtm_client.dart +++ b/lib/src/agora_rtm_client.dart @@ -322,7 +322,8 @@ class AgoraRtmClient { } Future setLogFileSize(int fileSizeInKBytes) { - return _callNative("setLog", {'fileSizeInKBytes': fileSizeInKBytes}); + return _callNative( + "setLogFileSize", {'fileSizeInKBytes': fileSizeInKBytes}); } /// get the agora native sdk version