For iOS, this issue is a merger between #26, #27 and #28, and it might also extend #29 and #30, as these bugs are probably related to this.
The dialog shown on failed identities that has already been somewhat implemented, needs a few improvements before release. The full flow on how it should work has been sketched out in Figma, and it's called "Flow 18 - Failed identity issuance".
The main differences from what has already been implemented, is the addition of a "Cancel" button on the dialog shown when the identity / initial account fails. The view for failed identity cards has also been updated to show the hashed session ID, so the users can come back to find it later. This change also means, that the user cannot always be sent back to the intro flow, as that would make it impossible to go a find the hashed session ID again. The Figma flow should explain how the new routing should work.
When an identity fails, the app will crash. It doesn't matter if the screen is showing the identities page or the account page.
When there are no succesful identities+accounts in the wallet, pressing the "Cancel" button, when the first identity in the wallet fails, the user will be taken back to the intro flow. This shouldn't happen, as the user then cannot browse to the failed identity card, without making a new identity request. Instead the "Cancel" button should just leave the user in the same place. The failed initial account should still be removed, and instead of an empty list of accounts on the account screen, a button saying "Create identity" should be shown. The "Create identity" button then leads to the initial account + identity creation flow.
Task description
For iOS, this issue is a merger between #26, #27 and #28, and it might also extend #29 and #30, as these bugs are probably related to this.
The dialog shown on failed identities that has already been somewhat implemented, needs a few improvements before release. The full flow on how it should work has been sketched out in Figma, and it's called "Flow 18 - Failed identity issuance".
The main differences from what has already been implemented, is the addition of a "Cancel" button on the dialog shown when the identity / initial account fails. The view for failed identity cards has also been updated to show the hashed session ID, so the users can come back to find it later. This change also means, that the user cannot always be sent back to the intro flow, as that would make it impossible to go a find the hashed session ID again. The Figma flow should explain how the new routing should work.