You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Android SDK 8.35.0 introduced enableAnrFingerprinting which is enabled by default. When enabled, ANR events whose stacktraces contain only system frames (e.g. java.lang, android.os) are grouped into a single issue instead of creating many separate issues.
There is currently no way for React Native users to opt out of this behavior from JavaScript.
Solution
Expose enableAnrFingerprinting (default: true, matching Android SDK default) in the RN SDK options so users can disable it if needed:
Sentry.init({dsn: '...',enableAnrFingerprinting: false,// opt-out of default ANR grouping});
This requires:
Adding the option to the JS/TS options type
Passing it through the native bridge to SentryAndroidOptions
Activity
linear-code commentedon Mar 18, 2026
RN-540
feat(android): Expose enableAnrFingerprinting option
feat(android): Expose enableAnrFingerprinting option
feat(android): Expose enableAnrFingerprinting option (#5838)