Title: Android Replay drops configuration before async startup · Issue #6144 · getsentry/sentry-java · GitHub
Open Graph Title: Android Replay drops configuration before async startup · Issue #6144 · getsentry/sentry-java
X Title: Android Replay drops configuration before async startup · Issue #6144 · getsentry/sentry-java
Description: Description ReplayIntegration.onConfigurationChanged() discards configuration while Replay is not recording. With asynchronous startup, this can leave Flutter Replay without configuration and produce no frames. Timeline Replay startup is...
Open Graph Description: Description ReplayIntegration.onConfigurationChanged() discards configuration while Replay is not recording. With asynchronous startup, this can leave Flutter Replay without configuration and produ...
X Description: Description ReplayIntegration.onConfigurationChanged() discards configuration while Replay is not recording. With asynchronous startup, this can leave Flutter Replay without configuration and produ...
Opengraph URL: https://github.com/getsentry/sentry-java/issues/6144
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Android Replay drops configuration before async startup","articleBody":"### Description\n\n`ReplayIntegration.onConfigurationChanged()` discards configuration while Replay is not recording. With asynchronous startup, this can leave Flutter Replay without configuration and produce no frames.\n\n### Timeline\n\n1. Replay startup is queued on the main thread.\n2. Flutter sends screenshot dimensions before startup completes; native discards them because Replay is not recording yet.\n3. Replay starts, but the widget size remains unchanged, so no new configuration arrives and no frames are recorded.\n\n### Evidence\n\nReproduced on Pixel 4, Android 13, Flutter SDK 9.30.0: native 8.53.0 works; 8.54.0 fails, consistent with the async lifecycle change in #5965. Resending configuration after startup restores recording.\n\n### Proposed fix\n\nRetain the latest valid configuration, apply it to the capture strategy and recorder on startup, preserve it across stop/start, and clear it on close. Add regression coverage that verifies recorded frames when configuration arrives before startup.\n\nFlutter issue: https://github.com/getsentry/sentry-dart/issues/4034\nFlutter workaround: https://github.com/getsentry/sentry-dart/pull/4037\n","author":{"url":"https://github.com/buenaflor","@type":"Person","name":"buenaflor"},"datePublished":"2026-09-22T10:07:06Z","url":"https://github.com/getsentry/sentry-java/issues/6144"}
| 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:bcb8bd27-4566-5ca2-cc1e-bacb42cb48af |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9480:10338A:5D8E6F:81EC0F:6B046AE6 |
| html-safe-nonce | 8011fdae797690dc2b84c205a56619d7b173bf5899c316f55b236711964b541d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDgwOjEwMzM4QTo1RDhFNkY6ODFFQzBGOjZCMDQ2QUU2IiwidmlzaXRvcl9pZCI6Ijc0NTY3MzEwMTc3NTY1NjgyOTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 384cb071cdbeab60545361c3a364adbee2ca97ad77729e6c4ebd5700af29c60a |
| hovercard-subject-tag | issue:5538076720 |
| 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/6144/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1b74a84efe362660792d91aea8e79b67d1c410bc9337a55f464624e958198c51/getsentry/sentry-java/issues/6144 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1b74a84efe362660792d91aea8e79b67d1c410bc9337a55f464624e958198c51/getsentry/sentry-java/issues/6144 |
| og:image:alt | Description ReplayIntegration.onConfigurationChanged() discards configuration while Replay is not recording. With asynchronous startup, this can leave Flutter Replay without configuration and produ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | buenaflor |
| hostname | github.com |
| expected-hostname | github.com |
| None | 83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f |
| 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 | ca4d07a7cef4e4b75f821dc25e7300d80c1450a9 |
| 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