We are using Sentry to track errors.

Quick Start

1

First, go to the Sentry and create a account.

2

After you create your account, click start button.

3

After you click start button, you will see this screen. Pick React Native and go to next step.

4

After you click next, you will see this screen.

You don’t need to install anything.

Just copy your dsn: ... and paste it here:

app/_layout.tsx
import * as Sentry from '@sentry/react-native';

Sentry.init({
  dsn: 'your-sentry-dsn-here',
  tracesSampleRate: 1.0,
  _experiments: {
    profilesSampleRate: 1.0,
  },
});
5

After you paste your dsn, go to the bottom of the app/_layout.tsx file and change this:

app/_layout.tsx
export default Sentry.wrap(App);

Thats it. You are done.