Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from AgoraIO:master #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)


Expand Down Expand Up @@ -159,4 +166,4 @@

## 0.9.2

* Flutter for Agora RTM SDK first release
* Flutter for Agora RTM SDK first release
4 changes: 4 additions & 0 deletions android/src/main/kotlin/io/agora/agorartm/AgoraRtmPlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -461,21 +461,25 @@ class AgoraRtmPlugin : FlutterPlugin, MethodCallHandler {
"setParameters" -> {
val parameters = args?.get("parameters") as? String
client.setParameters(parameters)
object : Callback<Void>(result, handler) {}.onSuccess(null)
}

"setLogFile" -> {
val filePath = args?.get("filePath") as? String
client.setLogFile(filePath)
object : Callback<Void>(result, handler) {}.onSuccess(null)
}

"setLogFilter" -> {
val filter = args?.get("filter") as? Int
client.setLogFilter(filter!!)
object : Callback<Void>(result, handler) {}.onSuccess(null)
}

"setLogFileSize" -> {
val fileSizeInKBytes = args?.get("fileSizeInKBytes") as? Int
client.setLogFileSize(fileSizeInKBytes!!)
object : Callback<Void>(result, handler) {}.onSuccess(null)
}

else -> {
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down