Skip to content

Conversation

@VishnuSanal
Copy link
Member

@VishnuSanal VishnuSanal commented Nov 14, 2025

Fixes #1408

  • Tests pass (manually tested with and without empty documentStore)
  • Appropriate changes to README are included in PR

steps to test

  • build testapp
  • try to request for a document type that is not present in the documentstore (or delete all docs from the document store and request for any doc type)
  • you should see a "no matching document present" bottom sheet - the app used to crash previously

@VishnuSanal VishnuSanal marked this pull request as ready for review November 15, 2025 06:30
Copy link

@TheBlackBit TheBlackBit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good Job!

@davidz25
Copy link
Contributor

We should definitely not crash but I'm also not sure we should be showing CredentialPresentmentModalBottomSheet in the first place if we don't have any matches... it feels like this is a bug in PresentmentModel, it needs to probably do something else than show this bottom sheet when there are no matches.

@VishnuSanal VishnuSanal marked this pull request as draft November 28, 2025 11:29
@VishnuSanal

This comment was marked as outdated.

@VishnuSanal VishnuSanal marked this pull request as ready for review December 8, 2025 15:44
@VishnuSanal
Copy link
Member Author

@davidz25 I have updated the code with the approach we discussed in the meeting last week. I think this PR is ready for review - can you please take a look, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

crash when the requested document is not present in the holder

3 participants