Bad release
Catch a bad React Native release early with release tags, crash-free health, and CLI source maps
Version 1.4.2 ships at noon. By evening crash-free sessions drop. Without a release tag you cannot tell which build is bleeding.
What to instrument
- Pass the same
releasestring intoTraceRN.initthat you use in CI - Keep
enableSessionHeartbeat: truefor accurate crash-free rates - Upload source maps for that release via @tracern/cli
- Watch release health after rollout
javascript
TraceRN.init({
apiKey: "trn_live_xxxxxxxx",
environment: "production",
release: process.env.EXPO_PUBLIC_APP_VERSION ?? "1.4.2",
enableSessionHeartbeat: true,
enableAutoErrorCapture: true,
});bash
npx @tracern/cli sourcemaps upload \
--release 1.4.2 \
--file ./dist/main.js.map \
--project "$TRACERN_PROJECT_ID" \
--token "$TRACERN_TOKEN"What you see in TraceRN
- Compare crash-free % across releases on release health
- Crash groups show first-seen release and breadcrumb path — triage in Crashes
- Set regression digests in alerts
Related
Last updated · TraceRN docs