Open
Description
OS:
- Windows
- MacOS
- Linux
Platform:
- iOS
- Android
SDK:
-
@sentry/react-native
(>= 1.0.0) -
react-native-sentry
(<= 0.43.2)
SDK version: 5.26.0
react-native
version: 0.74.6
Are you using Expo?
- Yes
- No
Are you using sentry.io or on-premise?
- sentry.io (SaaS)
- on-premise
Configuration:
(@sentry/react-native
)
Sentry.init({
dsn: process.env.EXPO_PUBLIC_SENTRY_DSN,
enableInExpoDevelopment: false,
enabled: !IS_DEV_BUILD,
debug: IS_DEV_BUILD,
environment: `app:${APP_ENV}`,
integrations: [captureConsoleIntegration({ levels: ['error', 'assert'] })],
ignoreErrors: [
'Amplitude Logger [Error]',
'ViewPropTypes will be removed from React Native',
'POP_TO_TOP',
],
});
I have the following issue:
After upgrading @sentry/integrations
from "7.81.1" to "7.114.0" we noticed a large performance regression. The app was taking a long time to respond to a user's tap.
Before (@sentry/integrations
7.81.1)
RPReplay_Final1721856524.MP4
After (@sentry/integrations
7.114.0)
RPReplay_Final1721856599.MP4
When we enabled Sentry in dev, we saw a bunch of logs that were clogging up the console and were able to reproduce the unresponsiveness locally. I've uploaded a video at #3963 (comment)
Steps to reproduce:
- Enable
captureConsoleIntegration
integration - Try navigating around the app
Actual result:
App is slow to respond to user's tap.
Expected result:
App navigates as normal
Metadata
Metadata
Assignees
Type
Projects
Status
Needs Review
Status
No status