mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-06 22:04:37 +00:00
There is no need to wait for `Statusgo.Login` callback in order to start unlocking realm db: currently it is encrypted via a key which is derived from user’s password, so we can try to unlock that DB before starting node. That’s how password will be checked. Right after that `:home` screen is shown, the node is started, then `Statusgo.Login` executed. The difference in sign in duration is more noticeable on Android devices, where `Statusgo.Login` is much slower because of PFS database encryption.