Skip to content

Commit 1c1e2ab

Browse files
committed
surface version for debugging
1 parent ffbd2d7 commit 1c1e2ab

File tree

1 file changed

+3
-1
lines changed
  • library/src/main/java/org/xmtp/android/library

1 file changed

+3
-1
lines changed

library/src/main/java/org/xmtp/android/library/Client.kt

+3-1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ import org.xmtp.proto.message.api.v1.MessageApiOuterClass.QueryRequest
4444
import uniffi.xmtpv3.FfiXmtpClient
4545
import uniffi.xmtpv3.LegacyIdentitySource
4646
import uniffi.xmtpv3.createClient
47+
import uniffi.xmtpv3.getVersionInfo
4748
import java.io.File
4849
import java.nio.charset.StandardCharsets
4950
import java.security.KeyStore
@@ -81,6 +82,7 @@ class Client() {
8182
lateinit var conversations: Conversations
8283
var logger: XMTPLogger = XMTPLogger()
8384
var libXMTPClient: FfiXmtpClient? = null
85+
val libXMTPVersion: String = getVersionInfo()
8486

8587
companion object {
8688
private const val TAG = "Client"
@@ -347,7 +349,7 @@ class Client() {
347349
throw XMTPException("No signer passed but signer was required.")
348350
}
349351
}
350-
352+
Log.i(TAG, "The libxmtp version is: $libXMTPVersion")
351353
return v3Client
352354
}
353355

0 commit comments

Comments
 (0)