Product Benefits Pricing Guides Docs About Contact us Try it out
Performance

Sentry React Native Fatal Error Persistence

Sentry React Native 8.33 saves fatal JS errors to disk before exit on Android. Learn React Native crash reporting that stops lost crash data.

· 3 min read

The worst crashes are the ones you never hear about. When a React Native app dies on a fatal JavaScript error, the process can exit before the crash report is sent. The result is a gap between what users experienced and what your dashboard shows, and you ship fixes for the wrong problems.

Sentry React Native 8.33.0 closes part of that gap. On Android, it now persists the fatal JS error envelope to disk before the process exits. The report is then delivered on the next launch. The same release applies screenshot masking options to Android error and feedback screenshots, and stops a launch crash when "dsn": null appears in sentry.options.json.

Why It Matters for Your Metrics

If fatal errors are under-reported, your crash-free rate is too high and your top-issue list is skewed. After upgrading, you may see Android fatal counts rise. That is not a regression in your app; it is data that was previously lost.

Data Points to Track

  • crash_report_delivery with values same_session or next_launch
  • delivery_delay_seconds between the crash and the report arriving
  • app_version and sdk_version
  • os_version and device_model
  • crash_free_sessions and crash_free_users, split by platform
  • fatal_error_count per release
  • time_to_next_launch after a crash
  • session_count_after_crash for the same user

Setup Steps

  1. Record your Android crash-free rate and fatal count for the last four weeks as a baseline.
  2. Upgrade @sentry/react-native to 8.33.0 or later.
  3. Check that sentry.options.json has a valid DSN or omits the field, so the launch crash fix is not hiding a configuration mistake.
  4. Add the SDK version as a tag on every event.
  5. Release to a staged rollout and compare Android fatal counts by SDK version.
  6. Add a dashboard panel that separates delayed reports from same-session ones.
  7. Annotate the chart on the day you upgrade, so the step change is explained.

Actionable Insights

Expect a one-off rise in Android fatal counts. Annotate it so nobody reads it as a bad release.

Measure how many users return after a crash. If many never reopen the app, the delayed delivery means you cannot rely on that user’s next session to tell you why.

Prioritise fixes by affected users, not by event count. A single user with a crash loop can inflate totals.

Compare Android and iOS crash-free rates again after the upgrade. A narrower gap suggests the old numbers were flattering Android.

Common Mistakes to Avoid

Do not compare crash counts across the upgrade without a note. The step change comes from better delivery, and unannotated charts lead teams to chase a regression that does not exist.

Do not assume every lost report is now recovered. Native crashes, forced kills and out-of-memory exits follow different paths, so keep tracking them separately.

Do not skip consent. Reports delivered on the next launch still contain device and app details, so make sure your privacy notice covers crash data sent after the original session.