You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Find out why BootsplashVisibleHider is not triggered #79115
There were many cases where the BootsplashVisibleHider span didn't trigger at all. There might be something wrong with our implementation, or there might be some edge cases where the app logic gets stuck somewhere before showing the bootsplash hider. It might also be related to some user actions.
While working on the parent issue I investigated many unusally long BootsplashVisible spans along with its child spans. One of the things that I've noticed is that sometimes when the bootsplash was displayed for a very long time, the BootsplashVisibleHider child span that tracks the logic that is responsible for hiding the bootsplash didn't appear at all. This might be due to many reasons, not only the code logic itself, it might also be caused by some user actions. It needs to be investigated, but before it is we should wait for more data that will be added in the issue that holds this one.
Still on hold as #79113 hasn't been implemented yet. There is already a proposal and a draft PR so it looks like we might be able to start working on this one soon.
@rlinoz I'm still busy with Onyx issues and I will probably still be working on them in the upcoming days. Do you think we should increase the priority on our side? That way we'd be able to find someone to work on this quicker!
I wasn't able to confirm this on development as my app crashes when logging out of OldDot but this seems to be the Root cause. I tested this on producation.
go to OldDot
log out
Next bootsplashvisible does not have BootsplashVisibleHider child span
I spent some more time checking the long BootsplashVisible spans. In each case the span was longa and had no Hider subspan the issue occured after a crash.
the log out scenario seems to be the expected behaviour.
the crash scenario is something that we cannot do about much. App crashes and spans are closed on the next app start.
Honestly for me hybrid app crashes a lot - on every refresh - so I do not pay attention to that as far as there is no problem on staging / production / adhoc. So no, I don't know the cause of crash
Activity
JKobrynski commentedon Jan 9, 2026
While working on the parent issue I investigated many unusally long BootsplashVisible spans along with its child spans. One of the things that I've noticed is that sometimes when the bootsplash was displayed for a very long time, the BootsplashVisibleHider child span that tracks the logic that is responsible for hiding the bootsplash didn't appear at all. This might be due to many reasons, not only the code logic itself, it might also be caused by some user actions. It needs to be investigated, but before it is we should wait for more data that will be added in the issue that holds this one.
melvin-bot commentedon Jan 13, 2026
@rlinoz, @JKobrynski Whoops! This issue is 2 days overdue. Let's get this updated quick!
rlinoz commentedon Jan 13, 2026
on hold, moving to weekly.
JKobrynski commentedon Jan 23, 2026
Update:
Still on hold as #79113 hasn't been implemented yet. There is already a proposal and a draft PR so it looks like we might be able to start working on this one soon.
15 remaining items
JKobrynski commentedon Mar 16, 2026
@rlinoz I'm still busy with Onyx issues and I will probably still be working on them in the upcoming days. Do you think we should increase the priority on our side? That way we'd be able to find someone to work on this quicker!
rlinoz commentedon Mar 16, 2026
if this hasn't been blocking people from imrpoving the metric I think we can keep at this priority
JKobrynski commentedon Mar 17, 2026
All right! I will try to find a way to get someone to work on this faster 😄
sosek108 commentedon Mar 17, 2026
Hi, I've some spare time so I can check this one
sosek108 commentedon Mar 17, 2026
In
HybridAppHandlerApp/src/HybridAppHandler.tsx
Line 30 in a57e04d
HIDDENinstead ofREADY_TO_BE_HIDDEN. In this caseBootsplashVisibleHiderwill not be triggered.Could this be the case that fit your found cases? @JKobrynski
sosek108 commentedon Mar 18, 2026
I wasn't able to confirm this on development as my app crashes when logging out of OldDot but this seems to be the Root cause. I tested this on producation.
Next bootsplashvisible does not have
BootsplashVisibleHiderchild spansosek108 commentedon Mar 18, 2026
different case is this:
https://expensify.sentry.io/explore/traces/trace/6c761b20be744ae8bbe7fe3b52158081/?environment=production&field=id&field=span.name&field=span.description&field=span.duration&field=transaction&field=timestamp&field=user.email&field=os.name&field=release&node=span-86ead75349a24af0&query=span.name%3ABootsplashVisible%20span.duration%3A%3E1m&source=traces&statsPeriod=24h&targetId=85aabe0559a1093b×tamp=1773776115
The app crashed when started. User opened the app few hours later and the spans were closed then
sosek108 commentedon Mar 18, 2026
I spent some more time checking the long
BootsplashVisiblespans. In each case the span was longa and had noHidersubspan the issue occured after a crash.sosek108 commentedon Mar 18, 2026
@rlinoz is there anything I should do about this?
the log out scenario seems to be the expected behaviour.
the crash scenario is something that we cannot do about much. App crashes and spans are closed on the next app start.
rlinoz commentedon Mar 18, 2026
I think if we know the root cause and it is not related to a bug, then we are good and can close this one.
Do you know why the app is crashing for you and if we have an issue for that?
sosek108 commentedon Mar 18, 2026
Honestly for me hybrid app crashes a lot - on every refresh - so I do not pay attention to that as far as there is no problem on staging / production / adhoc. So no, I don't know the cause of crash
rlinoz commentedon Mar 18, 2026
Haha ok, I will close this one for now then.