Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Account is freezing with endless spinner if tap on account from list during sign in when autologin is enabled #10434

Closed
churik opened this issue Apr 24, 2020 · 1 comment · Fixed by #10629
Assignees
Projects

Comments

@churik
Copy link
Member

churik commented Apr 24, 2020

Bug Report

Problem

During autologin before home view is shown, app redirects to list of accounts for several moments.
If during this time user click on this account from list - in case of keycard account is freezing (public chats history is not loaded, instead of + endless spinner is shown)

Expected behavior

Redirect to home view, no errors

Actual behavior

Ordinary account:
Cannot Read property 'ToLowerCase' error error, can close it and continue work with app
Keycard account:

  • history of public chats is not loaded
  • endless spinner is shown instead of +

Notes

Issue is not only about keycard, it can be reproduced with the ordinary account as well, but in case of ordinary account

  1. It is difficult to reproduce (autologin is faster)
  2. error is shown, but after that account is working as expected
    In the case of keycard account history for public chats are not shown and the endless spinner is displayed instead of + button on Home view
    ezgif com-video-to-gif (4)

Reproduction

The easiest way to reproduce:

  • Open Status
  • Create account with keycard
  • Enable "Don't use keycard to sign in"
  • Close app
  • Open app and when account list is shown, tap on keycard account

Additional Information

  • Status version: nightly 24/04/2020
  • Operating System: Android

Logs

Ordinary account:
Status-debug-logs.zip

Keycard account:
double_login.log

Would love to have feedback from @hesterbruikman - how better to improve autologin process (i.e. spinner) to avoid this issue

@churik
Copy link
Member Author

churik commented Apr 27, 2020

cc @guylouis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Keycard
CLOSED
Development

Successfully merging a pull request may close this issue.

3 participants