hathor-wallet-mobile icon indicating copy to clipboard operation
hathor-wallet-mobile copied to clipboard

Lock screen is taking too long to appear when unlocking the phone

Open msbrogli opened this issue 5 years ago • 3 comments

When the iPhone is unlocked, the wallet shows its balance before the lock screen shows up. Sometimes the balance even updates before the lock screen shows up.

It is happening on iPhone 7 Plus with Hathor Wallet v0.8.3.

msbrogli avatar Feb 13 '20 15:02 msbrogli

@pedroferreira1 Maybe we have to put the lock screen when the app goes to background. I think we can add a handler that is called by the phone when either the app goes to background or the phone is locked. In this case, we can put either the lock screen or a "blank screen", just to prevent the balance from showing up.

What do you think?

msbrogli avatar Feb 13 '20 15:02 msbrogli

Makes sense. I still need to check the code but we are probably redirecting to the Locked screen when the app is active again. We should redirect when the app goes to background.

pedroferreira1 avatar Feb 14 '20 01:02 pedroferreira1

Not necessarily when it goes to background. We actually only lock it if it's been in background for a period (I think 30s). That was our decision so the user wouldn't need to input the pin all the time, when he quickly switches apps.

obiyankenobi avatar Feb 21 '20 17:02 obiyankenobi