How can I integrate sentry to jitsi-meet react-native project?

I want to integrate sentry for jitsi-meet react-native application, but I didn’t get the error catching result I wanted. Has anyone worked on this issue?

I added index.js file Sentry.init function(1) and wrap the app(2).

(1) Sentry.init({
dsn: ‘’,
release: {release_name},
dist: {dist_number}

(2) AppRegistry.registerComponent(‘App’, () => gestureHandlerRootHOC(Sentry.wrap(Root)));

I manually uploaded the source maps because not automatically installed.

first I tried it for android;

./node_modules/@sentry/cli/bin/sentry-cli releases --org {company} --project {project} files {release_name} upload-sourcemaps --dist {dist_number} --strip-prefix ‘~/’ --rewrite

npx react-native bundle --dev false --platform android --entry-file index.js --bundle-output --sourcemap-output

And I added crash code as;

                onPress={() => {
                      throw new Error('My Sentry error!');
              <Text>JS CRASH</Text>

As a result, the error drops while in debug mode. But when I run it in release mode, the application does not crash(I couldn’t find the reason). And nothing shows up in the sentry