Link Crashlytics and Sentry crashes to session replays

Go from a crash report straight to what the person did before it, with the Vexo session written into the report

November 28, 2026

Vexo Team – Co-Founder
Jump to section

In apps built with vexo-analytics 1.16.0 or later, Firebase Crashlytics and Sentry crash reports link to the Vexo session, and an imported Crashlytics crash appears in the session it ended. The Vexo SDK writes the Vexo device, the session, and a link to the session into each crash report, as Crashlytics custom keys and Sentry tags. From a crash, you go to the Vexo session and its replay, and see the screens and taps that came before it.

What a crash report is missing

A crash report tells you where the code failed: the stack trace, the device, the OS version, and the app version. A crash report doesn't tell you what the person was doing. Which screen were they on, what did they tap, and what did the app load just before? Without that, you try to reproduce the crash from the stack trace alone.

A session replay answers those questions, but only if you can find the right one. Before 1.16.0, matching a Crashlytics or Sentry crash to a Vexo session meant comparing devices and timestamps by hand. Now the crash report names the session.

What the Vexo SDK adds to crash reports

When your app also uses Firebase Crashlytics or Sentry, the Vexo SDK writes these values into their crash reports:

Key or tagWhat it holds
vexo_device_idThe device, as Vexo identifies it
vexo_session_idThe Vexo session that was running when the report was written
vexo_session_urlA link to that session on the Vexo dashboard
  • The Vexo SDK finds both SDKs by name at runtime, so neither becomes a dependency, and an app without them is unaffected.
  • The values update with every new session, so a crash carries the session it happened in.
  • While tracking is off, for example after disableTracking(), the Vexo SDK clears them.

Where the session link shows up

In Vexo, for Crashlytics crashes you import. Vexo's Crashlytics integration imports crashes from your Crashlytics BigQuery export into the app's Errors. When an imported crash carries vexo_device_id and vexo_session_id, Vexo puts it in that session. The crash's error group then lists the session, with Watch replay when the session was recorded, so the crash sits next to the replay of the session it ended.

In Crashlytics and Sentry. The Vexo SDK sets the values on the native Crashlytics and Sentry SDKs, so their native crash reports carry them, and vexo_session_url takes you from the report to the session on the Vexo dashboard. A Sentry issue shows the Vexo session in its tags and links to it this way. Vexo doesn't import Sentry crashes.

Example: from a native crash to the taps before it

Say Crashlytics reports a new native crash in version 3.1 of your app, and the stack trace ends inside the camera module your profile screen uses. The trace shows where the code failed, but you can't make it happen on your own phone.

With vexo-analytics 1.16.0 in that build, the crash carries vexo_session_id. Your import job sends the new Crashlytics rows to Vexo, and the crash appears in the app's Errors, with the affected sessions listed under its error group. You click Watch replay on one of them. In this example, the replay shows the person opening the profile screen, tapping the photo, and rotating the phone while the camera preview opened; the crash follows a second later. That's a sequence to reproduce, and the session's network requests and console logs are there if you need more.

If your team works from Sentry instead, the same session is one click away: open the Sentry issue, and follow vexo_session_url to the session in Vexo.

Set up crash links

Linking crash reports to Vexo sessions needs:

  • SDK: vexo-analytics 1.16.0 or later, in the same app as Crashlytics or Sentry.
  • A new native build: the Vexo SDK writes the keys from its native module, so run pod install and rebuild, or make a new development or EAS build with Expo. An over-the-air update alone doesn't add it.
  • Expo: Development builds and EAS Build. Doesn't run in Expo Go.
npm install vexo-analytics@latest
cd ios && pod install

That's all the setup for the keys and tags: there's no code to add. To also see Crashlytics crashes in Vexo, next to their sessions, set up the Crashlytics import:

  1. In Firebase, turn on the Crashlytics export to BigQuery.
  2. In your app's App Settings in Vexo, go to Crashlytics Integration. Optionally, enter the Firebase App ID and Bundle identifier for your reference, and click Save.
  3. Schedule a job that reads new rows from the export and sends them to Vexo, up to 5,000 rows in each request, with your app's API key:
curl -X POST https://api.vexo.co/integrations/crashlytics/import \
  -H "X-Api-Key: <your app API key>" \
  -H "Content-Type: application/json" \
  -d '{ "crashes": [ /* Crashlytics BigQuery export rows */ ] }'

Vexo skips rows it already imported, so the job can safely send a row again. The Crashlytics Integration section shows Last import and Imported crashes, so you can check that the job runs.

Limits of Vexo crash links

  • Vexo doesn't connect to Firebase. Crashlytics crashes reach Vexo only through the import job you run. The Vexo SDK itself reports JavaScript crashes and JS-thread stalls; to see native crashes in Vexo, import them from Firebase Crashlytics through its BigQuery export.
  • Older builds have no session. Crashes from builds with an earlier SDK version, and crashes that happen before the Vexo SDK starts, carry no session keys. Vexo imports each of them into a session of its own, with no replay.
  • A replay needs a recorded session. Watch replay appears only when the session was recorded. A session without a replay, for example because replays are sampled or turned off, still shows its screens and events.
  • Sentry is a link, not an import. A Sentry issue links to the Vexo session through its tags, but the crash doesn't appear in Vexo's Errors.
  • The link opens the Vexo dashboard. vexo_session_url points at the session in your Vexo account, so you sign in to Vexo to see it.

For every step, see Link crashes to sessions and replays in the Vexo docs.

More from vexo-analytics 1.16.0

Start today for free

Our free tier is the perfect starting point to try vexo. You can upgrade at any time!