openwallet-foundation / bifold-wallet

Aries Mobile Agent React Native - Part of the Aries Bifold effort to provide SSI capabilities in a production ready app.
Apache License 2.0
136 stars 134 forks source link

feat: getting oob label for connectionless proof #1171

Closed CarolineLCa closed 1 week ago

CarolineLCa commented 2 weeks ago

Summary of Changes

Expected behavior

It should have the verifier's name in connectionless proof

Current behavior

"A contact" is displayed as name

To fix

I added useOutOfBandByReceivedInvitationId hooks to get oobLabel on ProofRequest screen

Before Screenshot_20240617_161720_Aries Bifold

After Screenshot_20240617_161732_Aries Bifold

Observation

For the cred_def, I added a else to prevent it from returning "default" when schemaId is undefined

Related Issues

N/A

Pull Request Checklist

Tick all boxes below to demonstrate that you have completed the respective task. If the item does not apply to your this PR check it anyway to make it apparent that there's nothing to do.

If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!

Pro Tip đŸ¤“

PR template adapted from the Python attrs project.