From 1c1e2ab6ca2b7dfae15cad67948ee828b54b71ee Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Mon, 12 Feb 2024 22:25:20 -0800 Subject: [PATCH] surface version for debugging --- library/src/main/java/org/xmtp/android/library/Client.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/library/src/main/java/org/xmtp/android/library/Client.kt b/library/src/main/java/org/xmtp/android/library/Client.kt index 8b0ef064b..d04953a46 100644 --- a/library/src/main/java/org/xmtp/android/library/Client.kt +++ b/library/src/main/java/org/xmtp/android/library/Client.kt @@ -44,6 +44,7 @@ import org.xmtp.proto.message.api.v1.MessageApiOuterClass.QueryRequest import uniffi.xmtpv3.FfiXmtpClient import uniffi.xmtpv3.LegacyIdentitySource import uniffi.xmtpv3.createClient +import uniffi.xmtpv3.getVersionInfo import java.io.File import java.nio.charset.StandardCharsets import java.security.KeyStore @@ -81,6 +82,7 @@ class Client() { lateinit var conversations: Conversations var logger: XMTPLogger = XMTPLogger() var libXMTPClient: FfiXmtpClient? = null + val libXMTPVersion: String = getVersionInfo() companion object { private const val TAG = "Client" @@ -347,7 +349,7 @@ class Client() { throw XMTPException("No signer passed but signer was required.") } } - + Log.i(TAG, "The libxmtp version is: $libXMTPVersion") return v3Client }