From 55b5dfd836b08d8ec22cd2a94cda185db1120600 Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Fri, 22 Nov 2024 13:53:01 -0800 Subject: [PATCH] add logs --- .../src/main/java/expo/modules/xmtpreactnativesdk/XMTPModule.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/android/src/main/java/expo/modules/xmtpreactnativesdk/XMTPModule.kt b/android/src/main/java/expo/modules/xmtpreactnativesdk/XMTPModule.kt index 5e66af50..0a9db884 100644 --- a/android/src/main/java/expo/modules/xmtpreactnativesdk/XMTPModule.kt +++ b/android/src/main/java/expo/modules/xmtpreactnativesdk/XMTPModule.kt @@ -414,6 +414,7 @@ class XMTPModule : Module() { AsyncFunction("signWithInstallationKey") Coroutine { inboxId: String, message: String -> withContext(Dispatchers.IO) { + logV("signWithInstallationKey") val client = clients[inboxId] ?: throw XMTPException("No client") val signature = client.signWithInstallationKey(message) @@ -423,6 +424,7 @@ class XMTPModule : Module() { AsyncFunction("verifySignature") Coroutine { inboxId: String, message: String, signature: List -> withContext(Dispatchers.IO) { + logV("verifySignature") val client = clients[inboxId] ?: throw XMTPException("No client") val signatureBytes = signature.foldIndexed(ByteArray(signature.size)) { i, a, v ->