Adding The SDK

Expo Web

For Expo web deployments, the LogRocket Javascript Web SDK must be used. See our web Quickstart and follow Web SDK guides from there. Note that the Web SDK can only be imported in Web builds of your app.

Expo Mobile

Our React Native package is available on NPM. New releases of the LogRocket Native SDKs are catalogued on our Mobile SDK Changelog.

expo install @logrocket/react-native

And then edit your app.json (or app.config.js) to include our SDK in the plugins list:

{
  "expo": {
    // ... your existing configuration
    "plugins": ["@logrocket/react-native"]
  }
}