cardano-foundation / cf-identity-wallet

Identity Wallet is an open source mobile application developed by the Cardano Foundation. It provides a digital solution for users to securely store, manage, and share their identifiers and verifiable credentials.
https://identity.cardanofoundation.org
Mozilla Public License 2.0
82 stars 11 forks source link

fix(ui): Update Cardano connect scan #707

Closed sdisalvo-crd closed 6 days ago

sdisalvo-crd commented 6 days ago

Description

Updating the way we handle scanning items and detecting if the scanned item is a valid Meerkat ID.

If it is, we run the Cardano connect flow and upon success we redirect the user to the correct page, showing the new connection as usual.

Making this work regardless from the place the scanner is opened, wether is the Scan tab or the full page scanner (for example, if they open the scanner from the connections page).

Checklist before requesting a review

Issue ticket number and link

Testing & Validation

Security

Code Review

Design Review

I can't test it on iOS at the moment due to issues with Xcode. I am assuming it won't be any different than Android since I am not introducing any new UI component.

Android

https://github.com/user-attachments/assets/9844dfbe-7506-41ac-9146-faba0ad04318

Browser

https://github.com/user-attachments/assets/404bb856-5a58-4e96-94a4-a56b21c5421b

https://github.com/user-attachments/assets/b31fc426-8fe5-4064-b646-f26d129e63c6