Title: Customize app launch start and end time for Android · Issue #5294 · getsentry/sentry-java · GitHub
Open Graph Title: Customize app launch start and end time for Android · Issue #5294 · getsentry/sentry-java
X Title: Customize app launch start and end time for Android · Issue #5294 · getsentry/sentry-java
Description: Track a more customizable way to measure app launch for Android, similar to COCOA-1018. The current launch measurement should allow a more explicit and customizable end point so background launches and delayed UI work are handled more pr...
Open Graph Description: Track a more customizable way to measure app launch for Android, similar to COCOA-1018. The current launch measurement should allow a more explicit and customizable end point so background launches...
X Description: Track a more customizable way to measure app launch for Android, similar to COCOA-1018. The current launch measurement should allow a more explicit and customizable end point so background launches...
Opengraph URL: https://github.com/getsentry/sentry-java/issues/5294
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Customize app launch start and end time for Android","articleBody":"Track a more customizable way to measure app launch for Android, similar to [COCOA-1018](https://linear.app/getsentry/issue/COCOA-1018/customize-app-launch-end-time).\n\nThe current launch measurement should allow a more explicit and customizable end point so background launches and delayed UI work are handled more predictably.\n\nA possible direction is to expose an API that lets developers extend app launch and then explicitly mark launch as finished when the app has reached the desired point. If needed, this could also support a separate \"fully displayed\" marker.\n\nThis issue is to track the Android equivalent of the customizable app launch work being discussed for Cocoa. \n\nShould be tackled after [JAVA-283](https://linear.app/getsentry/issue/JAVA-283/feat-send-standalone-app-start-transactions)\n\n```kotlin\n// This must be called before the onFirstFrameDrawn\nval launchSpan: TimeSpan? = Sentry.extendAppLaunch() \n\n...\n\n// Call this when you want to mark the app as launched (defaults to firstFrameDrawn as it is now)\nlaunchSpan?.finish()\n\n\n// If we want to have a special \"full display\" span we can support this\nlaunchSpan?.fullyDisplayed()\n```\n\nThis should also help with implementing [JAVA-359](https://linear.app/getsentry/issue/JAVA-359/attach-custom-child-spans-to-the-cold-app-start-transaction)","author":{"url":"https://github.com/apps/linear-code","@type":"Person","name":"linear-code"},"datePublished":"2026-04-14T13:20:09Z","url":"https://github.com/getsentry/sentry-java/issues/5294"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:cf865092-b466-bab8-c17d-b87748a458f2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CFBE:23D7A:3D6389:5404E9:6B046DA9 |
| html-safe-nonce | a8c4fbc7311d21b97e2f19328c45b924e65027d0273cf565fafaa916f2426870 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkJFOjIzRDdBOjNENjM4OTo1NDA0RTk6NkIwNDZEQTkiLCJ2aXNpdG9yX2lkIjoiMzQ0NTM0MjA2ODUwNjEyNzc4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 071c552f2b74765a5a9c4c58d5500fd064d4f39efcab8e0c34b8b934e70c8fd3 |
| hovercard-subject-tag | issue:4262315417 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-java/5294/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4ba81958ecf5c723c436d7863910ee77129a45aa98ef5788ec9a3001b251d7c2/getsentry/sentry-java/issues/5294 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4ba81958ecf5c723c436d7863910ee77129a45aa98ef5788ec9a3001b251d7c2/getsentry/sentry-java/issues/5294 |
| og:image:alt | Track a more customizable way to measure app launch for Android, similar to COCOA-1018. The current launch measurement should allow a more explicit and customizable end point so background launches... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | linear-code[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | ae8802492f12d3ba4f6b0d814054e617a2a5616b6327bf8555c10cd5b0dc2a6f |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-java git https://github.com/getsentry/sentry-java.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3368190 |
| octolytics-dimension-repository_nwo | getsentry/sentry-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3368190 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cfb5f24c6e01d85f70804652a5107e5cac03a161 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width