Skip to the page

Release, monitoring and testing · mid

Crash reporting, symbolication, analytics and incidents

Production monitoring means every JS and native crash arrives readable (source maps per release and per OTA update, dSYMs, R8 mappings) and tagged with version and update id, next to performance and business metrics, so when crash-free users drop you can find the cause and roll back fast.

The notes

What you must know

  • Sentry (@sentry/react-native) or Firebase Crashlytics. Sentry uploads Hermes source maps from the Xcode and Gradle build steps; Expo uses the @sentry/react-native/expo plugin. Each OTA update needs its own source maps.
  • Native symbols: upload iOS dSYMs and Android R8 mapping files / NDK symbols, or native stack frames are unreadable.
  • Tag release, dist, OTA update id and channel. Add breadcrumbs (navigation, network) but scrub tokens and personal data.
  • Error boundaries catch render errors below them, not event handlers, async code or native crashes. Add screen-level boundaries and a global handler (ErrorUtils.setGlobalHandler).
  • Since 0.82, uncaught promise rejections are reported like errors (they were swallowed before), so error counts can jump right after an upgrade.
  • Watch: crash-free users and sessions, ANR rate, slow/frozen frames, cold start, API errors by app version, OTA adoption, funnel drop-offs. Sentry adds session replay (text and images masked by default) and time-to-display.
  • Incident playbook: triage by version, update id, OS and device → halt the staged rollout or pause the phased release → roll back the OTA update or flip a remote-config kill switch → fix forward with a test → blameless postmortem.

The red pen

Common traps: mistake → fix

  • Mistake: "One source map for all OTA updates"

    Fix: each update has its own bundle and map.

  • Mistake: "Error boundaries catch everything"

    Fix: not async code, event handlers or native crashes.

  • Mistake: "Ship a hotfix straight away"

    Fix: stop the damage first (rollback or kill switch), then find the cause.

Easy to hard

Questions interviewers ask, easy to hard

  1. How do you make a production JS crash show the original TypeScript line?
  2. Why are native frames unsymbolicated, and how do you fix it?
  3. Crash-free users drop from 99.6% to 97% two hours after a release that had both a store update and an OTA update. Walk me through the next hour.
  4. What do you monitor for a mobile app, and what should wake someone at 2 a.m.?

Explain it out loud

Explain it out loud to an AI interviewer that follows up, and see where your answer is thin.

Practise by voice

Your first interview is free

Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.

Start your free interview