Tonomy-Foundation / Tonomy-ID

Tonomy ID is the cross-platform mobile wallet (Android and iOS) for public and private Antelope blockchains. This application allows you to sign transactions on the block chain, share your DID and Verifiable Credentials containing your identity with others in a consensual way and log into web2 and web3 applications.
Apache License 2.0
16 stars 1 forks source link

Error Section for Scan QR code screen #1252

Open sadiabbasi opened 1 week ago

sadiabbasi commented 1 week ago

Acceptance criteria:

theblockstalk commented 1 day ago

1. if user scan the QR code and the app is not found

this is and should be thrown on the accounts website, not in the app here: https://github.com/Tonomy-Foundation/Tonomy-App-Websites/blob/master/src/accounts/pages/Login.tsx#L233

this error is thrown:

we should ask Pavel to redesign this page for when the app is not found (right now a popup is shown). The screen should happen after this one: https://www.figma.com/design/Enit7SHcGKiYULpi51Hg36/Accounts-website?node-id=1-4337&t=MizVMBOGHzywg146-4

2. if the user scan qr code and This app is running in the testing environment

currently we cannot test this as we don't know the schema of the other Pangea/Tonomy apps. so this is indistinguishable at the moment fro #3 so just treat it the same as #3

3. If the user scan the invalid qr code

error thrown:

you can see this is already handled here https://github.com/Tonomy-Foundation/Tonomy-ID/blob/development/src/containers/ScanQRCodeContainer.tsx#L147 (this should be updated to the new UI)