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

Auto Time to Initial Display for React Navigation is always 15 seconds #3786

Open
krystofwoldrich opened this issue Apr 29, 2024 · 3 comments

Comments

@krystofwoldrich
Copy link
Member

Description

On some Android devices the auto instrumentation for time to initial display results in heartbeat timeout and the TTID span is always 15 seconds.

To avoid this bug you can you the manual instrumentation <Sentry.TimeToInitialDisplay record={true} />

https://docs.sentry.io/platforms/react-native/performance/instrumentation/time-to-display/

@krystofwoldrich
Copy link
Member Author

@matheuscouto
Copy link

matheuscouto commented Jun 3, 2024

Moving the discussion to this thread, as you asked in the issue, I was using only real devices for those tests, and my navigators are structured like this:

Stack Navigator (root)
   └─ Tab Navigator
      └─ Stack Navigator

Tbh I didn't know we also could define the TimeToInitialDisplay the same way you can with the TimeToFullDisplay, I was relying only on auto instrumentation for that. I'll add it and see if it solves the issue.

@krystofwoldrich
Copy link
Member Author

@matheuscouto Thank you for the details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Status: Todo
Development

No branches or pull requests

2 participants