📄 expo/guides/using-logrocket

File: using-logrocket.md | Updated: 11/15/2025

Source: https://docs.expo.dev/guides/using-logrocket

Hide navigation

Search

Ctrl K

Home Guides EAS Reference Learn

Archive Expo Snack Discord and Forums Newsletter

Using LogRocket

Edit page

Copy page

A guide on installing and configuring LogRocket for session replays and error monitoring.

Edit page

Copy page


LogRocket records user sessions and identifies bugs as your users use your app. You can filter sessions by update IDs and also connect to your LogRocket account on the EAS dashboard to get quick access to your app's session data.

Install and configure LogRocket


You can install the LogRocket SDK with the following command:

Terminal

Copy

- npx expo install @logrocket/react-native expo-build-properties

Then, in your app config , include the LogRocket config plugin:

app.json

Copy

{ "plugins": [ [ "expo-build-properties", { "android": { "minSdkVersion": 25 } } ], "@logrocket/react-native" ] }

Finally, initialize LogRocket in your app in a top-level file, like app/_layout.tsx:

app/_layout.tsx

Copy

import { useEffect } from 'react'; import * as Updates from 'expo-updates'; import LogRocket from '@logrocket/react-native'; const App = () => { useEffect(() => { LogRocket.init('<App ID>', { updateId: Updates.isEmbeddedLaunch ? null : Updates.updateId, expoChannel: Updates.channel, }); }, []); };

In the code above, replace <App ID> with your LogRocket App ID .

Connecting LogRocket on the EAS dashboard


You can link your LogRocket account and project to your Expo account and project on Expo's dashboard, so that you can see the last few sessions from your app in the deployments and updates dashboards.

Go to your Account settings > Overview

Connections and click Connect to authenticate with LogRocket:

Connect LogRocket account to Expo account.

Then, go to your project, under Project settings > General and click Connect to link your LogRocket project with your project on Expo:

Connect LogRocket project to Expo project.

Then, you'll start to see View on LogRocket buttons in the EAS dashboard in the Native Deployments and Updates dashboards, along with the last few sessions from your app.

View on LogRocket button and sessions in the deployment dashboard.

Learn more about LogRocket


To learn more about how to use LogRocket with Expo, check out the LogRocket documentation .