Features
- Add
enableTombstoneoption for improved native crash reporting on Android 12+ (#5680)- When enabled, uses Android's
ApplicationExitInfo.REASON_CRASH_NATIVEto capture native crashes with more detailed thread information
import * as Sentry from '@sentry/react-native'; Sentry.init({ dsn: 'YOUR_DSN', enableTombstone: true, });
- When enabled, uses Android's
- Expose iOS options to ignore views from subtree traversal in version 8 (#5663)
- Use
includedViewClassesto only traverse specific view classes, orexcludedViewClassesto skip problematic view classes during session replay and screenshot capture
import * as Sentry from '@sentry/react-native'; Sentry.init({ replaysSessionSampleRate: 1.0, integrations: [ Sentry.mobileReplayIntegration({ includedViewClasses: ['UILabel', 'UIView', 'MyCustomView'], excludedViewClasses: ['WKWebView', 'UIWebView'], }), ], });
- Use
Fixes
- Fix race condition where iOS dSYM upload runs before debug symbols are fully generated (#5653)