Skip to content

Conversation

wadeking98
Copy link
Contributor

Previously when exiting the mobile verifier page and returning to the home screen the notification state wouldn't update, This would mean that there were two notifications on the home page, one from the person credential, and one from the proof request that had already been viewed. Once you navigate away and then back to the home screen the erroneous notification would be removed, but the notification bubble on the tabstack would still say there's 2 notifications.

This change fixes the useNotifications hook so that the notifications hook is updated whenever the proof request is marked as seen. This ensures we don't get an erroneous proof notification on the home screen

Signed-off-by: wadeking98 <wkingnumber2@gmail.com>
bryce-mcmath
bryce-mcmath previously approved these changes Aug 27, 2024
@bryce-mcmath bryce-mcmath self-requested a review August 28, 2024 00:01
@bryce-mcmath
Copy link
Contributor

I'm assuming this won't hide proof requests that have been seen but not responded to. But I'm not sure how...

@wadeking98 wadeking98 marked this pull request as draft August 28, 2024 00:26
Signed-off-by: wadeking98 <wkingnumber2@gmail.com>
Copy link

@wadeking98 wadeking98 marked this pull request as ready for review August 28, 2024 16:38
@wadeking98
Copy link
Contributor Author

@bryce-mcmath made a couple fixes and I'll need your review again

@wadeking98 wadeking98 merged commit 69d8587 into main Aug 28, 2024
12 checks passed
@wadeking98 wadeking98 deleted the fix-notif-from-mob-ver branch August 28, 2024 17:21
jleach pushed a commit that referenced this pull request Mar 13, 2025
…ier (#2145)

Signed-off-by: wadeking98 <wkingnumber2@gmail.com>
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.

2 participants