Skip to content

Commit

Permalink
chore: upgrade KMQTT to 0.4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeyls committed May 30, 2024
1 parent ad356f6 commit daa6010
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,3 @@
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

# KMQTT: unused WebSocket protocol
-assumevalues class MQTTClient {
java.lang.String webSocket return null;
}
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class KMQTTClient(
override suspend fun disconnectQuietly() {
withContext(NonCancellable + dispatcher) {
// If running is false, we are already disconnected
if (client.running) {
if (client.isRunning()) {
try {
client.disconnect(ReasonCode.SUCCESS)
} catch (ignore: Exception) {
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]
androidGradlePlugin = "8.4.1"
dagger = "2.51.1"
kmqtt = "0.4.6"
kmqtt = "0.4.7"
kotlin = "2.0.0"
kotlinx-coroutines = "1.8.1"
ksp = "2.0.0-1.0.21"
Expand Down

0 comments on commit daa6010

Please sign in to comment.