-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On mobile, after sending information after a proof request, vc-authn does not receive or provide feedback of the information sent #1997
Comments
Note that in any situations when going back to the app the BC Wallet button will be disabled and a pending message displayed. This is not deployed past VC-AuthN DEV yet though (can be seen here). |
This behaviour is working for me correctly consistently in any case I can try so far. (Need to try on an iPhone, but have used iPad) Cases I am testing:
Above successful cases are working for me consistently on following cases
Android recording file.mp4iPad recording PXL_20240530_195229035.1.mp4 |
It appears that the issue is with websockets being severed once the browser goes to the background (switch to wallet) and never re-established when the focus is regained (wallet back to browser). The issue seems to be more prominent with iOS. Aiming to resolve this in bcgov/vc-authn-oidc#548 |
I believe this is fixed in the next version of VCAuthN (currently in Dev environment). Tested out with Clecio on his iPhone a while back and was unable to get any failures. |
I tested production credentials and Courthouse libraries. |
Unless I am missing something, I think what @loneil did in bcgov/vc-authn-oidc#548 is all we could do on our end (i.e.: all that can be done in the webapp to ensure websockets reconnect). We may have to look more in-depth at how app switching in iOS works and whether this is something we could solve in the mobile app code (maybe there's a way of specifying an app should not freeze for the specified interaction with another app?) or it is an issue that needs to be solved/supported at the OS level. |
Description of problem
When a person attempts to access a service page on a mobile device using BC Wallet, they are able to successfully open the wallet via deeplink, receive a proof request and send the info over, however when they return to the service page, vc-authn does not provide any change to the interface. The page still displays the button "BC Wallet" in a pressed state.
Troubleshoot attempts:
Expected behavior
When the person returns to the service page after sharing information, vc-authn should display the correct message (either accepted, declined, not accepted etc.) and direct people through to the service (if accepted).
Steps to reproduce
Screenshots and/or log output
2024-05-16_BC.Wallet.CLBC.iPhone.Test.MP4
Environment
Build #: 1.0.16
Android Device Model:
iOS Device Model:
Workaround
none. use desktop?
Severity
The text was updated successfully, but these errors were encountered: