Features
- Experimental support of UI profiling on Android (#5518)
- Expose iOS options to ignore views from subtree traversal (#5545)
- 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 duplicate error reporting on iOS with New Architecture (#5532)
- Fix for missing
replay_idfrom metrics (#5483) - Skip span ID check when standalone mode is enabled (#5493)
- Fix traces not always being attached to replays with errors (#5538)