-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: add a timeout for splashscreen (VO-321) #1153
Conversation
Due to instability we decide to hide the splashcreen after a set value (here 15s). A message will also be sent to Sentry should that error arise. This is mainly to prevent infinitely stuck splashscreen while the app below is still functioning
2bdabda
to
d5c4fe0
Compare
This will fix failing tests with conflicting mocks
d5c4fe0
to
3db5710
Compare
src/app/theme/SplashScreenService.ts
Outdated
clearTimeout(autoHideTimer) | ||
} | ||
|
||
autoHideTimer = setTimeout(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure about it, but I think we will autohide the secure_background
splash screen and this one should not use autohide.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- to update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice tests!
This splashscreen is a special case and should not be interfered with regarding timeout timers.
Due to instability we decide to hide the splashcreen after a set value
(here 15s).
A message will also be sent to Sentry should that error arise.
This is mainly to prevent infinitely stuck splashscreen while the app
below is still functioning