-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Describe the bug
Testing RC 7.52.0 (2149) multi-chain accounts state 1, the wallet details screen seems to crash if you background the app/let your phone auto lock and then try and re open the app. This crash seems to only occur if you originally navigate to the wallet details screen from an account details page. I was unable to reproduce this crash when navigating from the account list. This may have something to due with the time being backgrounded surpassing the lock timer in Metamask/settings.
The error that is thrown is Cannot read property 'accounts' of undefined
Expected behavior
The phone should re open, ask for authentication (if lock time has passed) and navigate you back to the wallet details screen.
Screenshots/Recordings
Steps to reproduce
- import a wallet
- click on the selected account
- the account list should open
- click the three dots beside any of your accounts
- the account details page should open
- click on the wallet section of the account details page
- the wallet details page should open
- do not touch the screen and let your phone screen auto lock
- wait a few more seconds while the phone is unlocked
- re open your phone
- you will see the following error screen
- Note, this behaviour does not seem to happen when you navigate to wallet details from the accounts list via "details". It only occurs when you navigate from account details.
Error messages or log output
View: Root
TypeError: Cannot read property 'accounts' of undefinedDetection stage
During release testing
Version
7.52.0
Build type
None
Device
iPhone 16 pro, Google Pixel 6
Operating system
iOS, Android
Additional context
No response
Severity
This is a critical bug that must be fixed before release.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status