status-im / status-mobile

a free (libre) open source, mobile OS for Ethereum
https://status.app
Mozilla Public License 2.0
3.91k stars 984 forks source link

"Keycard is not empty" screen instead of "This is a different Keycard" screen during a login with Keycard #21647

Open mariia-skrypnyk opened 2 days ago

mariia-skrypnyk commented 2 days ago

Bug Report

https://github.com/status-im/status-mobile/pull/21467

Preconditions:

make sure you have 2 Keycards with a different key pairs on it OR you can use one Keycard and during reproduction you will need to make Factory reset (Desktop feature) and migrate another key pair to continue testing

Reproduction

  1. Install app
  2. Go to Login by using a Keycard
  3. Scan your Keycard with a key pair #1
  4. Enter PIN
  5. Scan another Keycard with a key pair #2 (or factory reset -> migration)

Actual behavior

Image

Expected behavior

https://www.figma.com/design/YGm3igIOAcwMqUVJWCJ6f1/Keycard?node-id=3369-58996&node-type=frame&t=oUd6hwmPFSTpwv7M-0

Image

Additional Information