Skip to content
This repository was archived by the owner on Feb 9, 2026. It is now read-only.

Commit 0d97d11

Browse files
committed
Android allow accountStoragePath to be set again
1 parent 53600af commit 0d97d11

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

lib/android/src/main/java/com/reactnativeldk/LdkModule.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,6 @@ class LdkModule(reactContext: ReactApplicationContext) : ReactContextBaseJavaMod
164164

165165
@ReactMethod
166166
fun setAccountStoragePath(storagePath: String, promise: Promise) {
167-
if (accountStoragePath != "") {
168-
return handleReject(promise, LdkErrors.already_init)
169-
}
170-
171167
val accountStoragePath = File(storagePath)
172168
val channelStoragePath = File("$storagePath/channels/")
173169

0 commit comments

Comments
 (0)