You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm running examples of this repo: samples.dapp and sample.wallet.
I've added google-services.json and done paring them successfully as in the picture below.
Then I tap the Push request button, the app immediately crashes below:
FATAL EXCEPTION: main
Process: com.walletconnect.sample.dapp, PID: 9212
java.util.NoSuchElementException: Collection contains no element matching the predicate.
at com.walletconnect.sample.dapp.ui.routes.composable_routes.session.SessionViewModel.pushRequest(SessionViewModel.kt:173)
at com.walletconnect.sample.dapp.ui.routes.composable_routes.session.SessionRouteKt$SessionRoute$6.invoke(SessionRoute.kt:76)
at com.walletconnect.sample.dapp.ui.routes.composable_routes.session.SessionRouteKt$SessionRoute$6.invoke(SessionRoute.kt:76)
at com.walletconnect.sample_common.ui.commons.ButtonsKt$BlueButton$1$1.invoke(Buttons.kt:27)
at com.walletconnect.sample_common.ui.commons.ButtonsKt$BlueButton$1$1.invoke(Buttons.kt:26)
at androidx.compose.foundation.ClickableKt$clickable$4$gesture$1$1$2.invoke-k-4lQ0M(Clickable.kt:167)
at androidx.compose.foundation.ClickableKt$clickable$4$gesture$1$1$2.invoke(Clickable.kt:156)
at androidx.compose.foundation.gestures.TapGestureDetectorKt$detectTapAndPress$2$1.invokeSuspend(TapGestureDetector.kt:255)
I've checked and found out that SignClient.getListOfActiveSessions() always be empty.
Please help to check. Did I miss any config?
SDK Version (if relevant)
Client: [e.g. JS, Swift, Kotlin]
Version [e.g. 22]
To Reproduce
Steps to reproduce the behavior:
Run samples.dapp and sample.wallet
Connect(pair) dapp with wallet
Pair successfully then click to Request push button
See the error
Expected behavior
Send Request push to the wallet to approve. Then Dapp can Notify to Wallet
Screenshots
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Another issue, the WalletApp approves Request Push from Dapp successfully in UI, but I found the error in Logcat here:
java.lang.Throwable: {"status":"FAILURE","error":{"name":"cacao","message":"Unable to verify"},"value":null} at com.walletconnect.android.keyserver.domain.use_case.UtilsKt.unwrapUnit(Utils.kt:17) at com.walletconnect.android.keyserver.domain.use_case.RegisterIdentityUseCase.invoke-gIAlu-s(RegisterIdentityUseCase.kt:11) at com.walletconnect.android.keyserver.domain.use_case.RegisterIdentityUseCase$invoke$1.invokeSuspend(Unknown Source:12) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
So I think the WalletApp approved Request Push from Dapp failed actually!
Describe the bug
I'm running examples of this repo:
samples.dapp
andsample.wallet
.I've added google-services.json and done paring them successfully as in the picture below.
Then I tap the Push request button, the app immediately crashes below:
I've checked and found out that SignClient.getListOfActiveSessions() always be empty.
Please help to check. Did I miss any config?
SDK Version (if relevant)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Send Request push to the wallet to approve. Then Dapp can Notify to Wallet
Screenshots
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: