-
-
Notifications
You must be signed in to change notification settings - Fork 359
Closed
Labels
Description
Problem
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
Context
- Introduced in
sentry-java8.35.0 (#4899-related) - Tracked as a behavioral change in the Android SDK bump PR: chore(deps): update Android SDK to v8.36.0 #5812
- Default is
truein the Android SDK — grouping behavior changes silently for users upgrading without this option exposed
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Fields
Give feedbackNo fields configured for issues without a type.