Skip to content

Commit

Permalink
Merge pull request #74 from Web3Auth/feat/update-session_manager-sdk
Browse files Browse the repository at this point in the history
feat: update session manager sdk
  • Loading branch information
chaitanyapotti authored Nov 11, 2023
2 parents 0e748db + a5795a1 commit 6281662
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ dependencies {
implementation 'org.web3j:core:4.8.8-android'

//session-manager-sdk
implementation 'com.github.Web3Auth:session-manager-android:1.0.3'
implementation 'com.github.Web3Auth:session-manager-android:1.2.0'

// Test
testImplementation 'junit:junit:4.+'
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/com/web3auth/core/Web3Auth.kt
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ class Web3Auth(web3AuthOptions: Web3AuthOptions) {
private fun getLoginId(jsonObject: JSONObject): CompletableFuture<String> {
val createSessionCompletableFuture: CompletableFuture<String> = CompletableFuture()
val sessionResponse: CompletableFuture<String> =
sessionManager.createSession(jsonObject.toString(), 600)
sessionManager.createSession(jsonObject.toString(), 600, false)
sessionResponse.whenComplete { response, error ->
if (error == null) {
createSessionCompletableFuture.complete(response)
Expand Down

0 comments on commit 6281662

Please sign in to comment.