From 8b75257ec075dc4bb9fa155618cbe62de91395e7 Mon Sep 17 00:00:00 2001 From: Arthas Date: Thu, 23 Nov 2023 14:50:17 +0800 Subject: [PATCH 1/3] fix: some function not call result --- android/src/main/kotlin/io/agora/agorartm/AgoraRtmPlugin.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/android/src/main/kotlin/io/agora/agorartm/AgoraRtmPlugin.kt b/android/src/main/kotlin/io/agora/agorartm/AgoraRtmPlugin.kt index 3fd708b..20ea872 100644 --- a/android/src/main/kotlin/io/agora/agorartm/AgoraRtmPlugin.kt +++ b/android/src/main/kotlin/io/agora/agorartm/AgoraRtmPlugin.kt @@ -461,21 +461,25 @@ class AgoraRtmPlugin : FlutterPlugin, MethodCallHandler { "setParameters" -> { val parameters = args?.get("parameters") as? String client.setParameters(parameters) + object : Callback(result, handler) {}.onSuccess(null) } "setLogFile" -> { val filePath = args?.get("filePath") as? String client.setLogFile(filePath) + object : Callback(result, handler) {}.onSuccess(null) } "setLogFilter" -> { val filter = args?.get("filter") as? Int client.setLogFilter(filter!!) + object : Callback(result, handler) {}.onSuccess(null) } "setLogFileSize" -> { val fileSizeInKBytes = args?.get("fileSizeInKBytes") as? Int client.setLogFileSize(fileSizeInKBytes!!) + object : Callback(result, handler) {}.onSuccess(null) } else -> { From dc985b96d61abc5b3059096721c56203190f37b3 Mon Sep 17 00:00:00 2001 From: HUI Date: Thu, 23 Nov 2023 06:55:13 +0000 Subject: [PATCH 2/3] chore: release 1.5.9 --- CHANGELOG.md | 9 ++++++++- pubspec.yaml | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 25a1344..e13301a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ +## [1.5.9](https://github.com/AgoraIO/Agora-Flutter-RTM-SDK/compare/v1.5.8...v1.5.9) (2023-11-23) + + +### Bug Fixes + +* some function not call result ([8b75257](https://github.com/AgoraIO/Agora-Flutter-RTM-SDK/commit/8b75257ec075dc4bb9fa155618cbe62de91395e7)) + ## [1.5.8](https://github.com/AgoraIO/Agora-Flutter-RTM-SDK/compare/v1.5.7...v1.5.8) (2023-08-07) @@ -159,4 +166,4 @@ ## 0.9.2 -* Flutter for Agora RTM SDK first release \ No newline at end of file +* Flutter for Agora RTM SDK first release diff --git a/pubspec.yaml b/pubspec.yaml index 9158ce6..14f29ff 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: agora_rtm description: >- Flutter wrapper around the Agora Real Time Message SDKs for Android and iOS. -version: 1.5.8 +version: 1.5.9 homepage: https://www.agora.io repository: https://github.com/AgoraIO/Flutter-RTM environment: From b4eba2dd2218de8ee6b6e95828c301b3c7f01f29 Mon Sep 17 00:00:00 2001 From: Nate Wilson Date: Fri, 29 Nov 2024 00:16:16 -0700 Subject: [PATCH 3/3] Allow newer `flutter_lints` versions (#161) This is just a small tweak in `pubspec.yaml`. Once this change is implemented, developers who use this plugin won't be prevented from using new linting features. --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 14f29ff..3b43695 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,7 +15,7 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^1.0.0 + flutter_lints: '>=1.0.0' build_runner: ^2.1.4 json_serializable: ^6.0.0 flutter: