github getsentry/sentry-react-native 7.9.0

8 hours ago

Features

  • Experimental support of UI profiling on Android (#5518)
  • Expose iOS options to ignore views from subtree traversal (#5545)
    • Use includedViewClasses to only traverse specific view classes, or excludedViewClasses to 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'],
        }),
      ],
    });

Fixes

  • Fix duplicate error reporting on iOS with New Architecture (#5532)
  • Fix for missing replay_id from metrics (#5483)
  • Skip span ID check when standalone mode is enabled (#5493)
  • Fix traces not always being attached to replays with errors (#5538)

Dependencies

Don't miss a new sentry-react-native release

NewReleases is sending notifications on new releases.