Skip to content

Commit c1ac6b8

Browse files
committed
feat: authConnectionConfig testing
Signed-off-by: Gaurav Goel <[email protected]>
1 parent 82dbcc6 commit c1ac6b8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/src/main/java/com/web3auth/core/Web3Auth.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ class Web3Auth(web3AuthOptions: Web3AuthOptions, context: Context) : WebViewResu
8282
sessionManager = SessionManager(
8383
context,
8484
web3AuthOptions.sessionTime,
85-
web3AuthOptions.redirectUrl
85+
web3AuthOptions.redirectUrl,
86+
sessionNamespace = if (web3AuthOptions.sessionNamespace?.isNotEmpty() == true) web3AuthOptions.sessionNamespace else ""
8687
)
8788
}
8889

@@ -679,9 +680,8 @@ class Web3Auth(web3AuthOptions: Web3AuthOptions, context: Context) : WebViewResu
679680
whiteLabel = whiteLabel?.merge(whitelabel) ?: whitelabel
680681
}
681682
}
682-
web3AuthOption.authConnectionConfig =
683-
(web3AuthOption.authConnectionConfig.orEmpty() +
684-
projectConfigResponse?.embeddedWalletAuth.orEmpty())
683+
//web3AuthOption.authConnectionConfig =
684+
// (web3AuthOption.authConnectionConfig.orEmpty() + projectConfigResponse?.embeddedWalletAuth.orEmpty())
685685
projectConfigCompletableFuture.complete(true)
686686
} else {
687687
projectConfigCompletableFuture.completeExceptionally(

0 commit comments

Comments
 (0)