github getsentry/sentry-react-native 7.5.0

19 hours ago

Features

  • Adds GraphQL integration (#5299)
  • Adds Supabase integration (#5296)
  • Add new experimental Canvas Capture Strategy for Session Replay (#5301)
    • A new screenshot capture strategy that uses Android's Canvas API for more accurate and reliable text and image masking
    • Any .drawText() or .drawBitmap() calls are replaced by rectangles, ensuring no text or images are present in the resulting output
    • Note: If this strategy is used, all text and images will be masked, regardless of any masking configuration
    • To enable this feature, set the screenshotStrategy to canvas:
      import * as Sentry from '@sentry/react-native';
      
      Sentry.init({
        integrations: [
          Sentry.mobileReplayIntegration({
            screenshotStrategy: 'canvas',
          }),
        ],
      });

Fixes

  • Fixes orientation change misalignment for session replay on Android (#5321)
  • Sync user.geo from SetUser to the native layer (#5302)

Dependencies

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

NewReleases is sending notifications on new releases.