Repository navigation
fix(remote-verification): show the session ID when results are delivered to the backend - #406
Merged
Merged
Conversation
…red to the backend Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dylan-paul
approved these changes
Nov 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The remote verification sample apps redirect back from the wallet using a custom URL scheme. With that redirect, MATTR VII delivers the verification results to the verifier's backend, and
requestMobileCredentialsreturns a successful result carrying the session ID, with nomobileCredentialResponse.Before this change the apps didn't handle that case. iOS stayed on "Waiting for response...", Android showed an empty list, and React Native threw "No verification results were returned by the tenant."
Changes
ContentView.swift): newsessionIdpublished property, set whenmobileCredentialResponseisnil. The response view displays it as selectable text.MainActivity.kt): newsessionIdstate flow, set whenmobileCredentialResponseisnull.Contentdisplays it in aSelectionContainer.App.tsx, complete app): shows the session ID in an alert instead of throwing. The starter app has no result handling, so it is unchanged.When the results are returned to the app, all three apps render them exactly as before.
The quickstart and tutorial in MATTR Learn are updated to match, including a step to retrieve the results with
GET /v2/presentations/sessions/{sessionId}/result: mattrinternal/mattr-learn#1500.Verification
swiftc -parsewas run)yarn tscand run on a device (not type-checked)🤖 Generated with Claude Code