Skip to content

Commit

Permalink
surface version for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Feb 13, 2024
1 parent ffbd2d7 commit 1c1e2ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion library/src/main/java/org/xmtp/android/library/Client.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit 1c1e2ab

Please sign in to comment.