From 6191f595a58765236f3d82756ada89ae4ebc28d3 Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Mon, 18 Nov 2024 19:24:56 -0800 Subject: [PATCH] add installation signer (#330) --- library/src/main/java/org/xmtp/android/library/Client.kt | 4 ++++ 1 file changed, 4 insertions(+) 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 0bc5246c1..e2dc101f5 100644 --- a/library/src/main/java/org/xmtp/android/library/Client.kt +++ b/library/src/main/java/org/xmtp/android/library/Client.kt @@ -208,6 +208,10 @@ class Client() { return Pair(ffiClient, dbPath) } + fun signWithInstallationKey(message: String): ByteArray { + return ffiClient.signWithInstallationKey(message) + } + fun findGroup(groupId: String): Group? { return try { Group(this, ffiClient.conversation(groupId.hexToByteArray()))