oasisprotocol / wallet

Official non-custodial wallet for the Oasis Network.
https://wallet.oasis.io
Apache License 2.0
110 stars 45 forks source link

"this is not your account" after clicking back button #1974

Open csillag opened 5 months ago

csillag commented 5 months ago

Randomly hitting the (android native) back button on the main screen (especially after returning from the account selection dialog) will sometimes trigger the "This is not your account" warning.

kép

Opening the account selection dialog again and selecting another account makes the message go away.

This feels inconsistent. Why do I lose my private keys by clicking the back button?

rochelle-norman commented 5 months ago

possibly related to #1897

csillag commented 5 months ago

possibly related to #1897

Maybe, but not very closely. When opening a wallet using a link, it's completely normal that the wallet doesn't have any private keys in the memory, so the warning is warranted. However, in the case of running the mobile wallet, there is no reason to suddenly forget the keys, while working inside the app.

lukaw3d commented 5 months ago

Renamed the issue: it happens in browser if you click back too