-
-
Notifications
You must be signed in to change notification settings - Fork 465
Closed
Labels
BugIssue typeIssue type
Description
Integration
sentry-android
Build System
Gradle
AGP Version
8.5.1
Proguard
Enabled
Version
7.12.1
Steps to Reproduce
Updated SDK from 7.9.0 to 7.12.1
Performance V2 is enabled
Application launch from foreground(isForegroundImportance is true)
Expected Result
Cold start measurement works
Actual Result
Transactions are missing the app.start.cold span.
I debugged the SDK, and the problem is here
Line 237 in 7ee0493
| public void registerApplicationForegroundCheck(final @NotNull Application application) { |
The Runnable passed to Handler.post is called before AppStartMetrics.onActivityCreated so that appLaunchedInForeground set to false which leads to AppStartMetrics.getAppStartTimeSpanWithFallback returns the empty span.
Metadata
Metadata
Assignees
Labels
BugIssue typeIssue type
Projects
Status
Done
Status
No status