Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sentry/react-native

Package Overview
Dependencies
Maintainers
11
Versions
248
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/react-native - npm Package Versions

1
25

5.22.3

Diff

Changelog

Source

5.22.3

Fixes

  • Missing RNSentryOnDrawReporterView on iOS (#3832)

Dependencies

sentry-bot
published 5.23.0-alpha.1 •

Changelog

Source

5.23.0-alpha.1

Fixes

  • Pass replaysSessionSampleRate option to Android (#3714)

Access to Mobile Replay is limited to early access orgs on Sentry. If you're interested, sign up for the waitlist

sentry-bot
published 5.22.2 •

Changelog

Source

5.22.2

Fixes

  • Remove tunnel from SDK Options (#3787)
  • Fix Apple non UIKit builds (#3784)

Dependencies

sentry-bot
published 5.22.1 •

Changelog

Source

5.22.1

Dependencies

sentry-bot
published 5.23.0-alpha.0 •

Changelog

Source

5.23.0-alpha.0

Features

  • Mobile Session Replay Alpha (#3714)

    To enable Replay for React Native on mobile and web add the following options.

    Sentry.init({
      _experiments: {
        replaysSessionSampleRate: 1.0,
        replaysOnErrorSampleRate: 1.0,
      },
    });
    

    To change the default Mobile Replay options add the mobileReplayIntegration.

    Sentry.init({
      _experiments: {
        replaysSessionSampleRate: 1.0,
        replaysOnErrorSampleRate: 1.0,
      },
      integrations: [
        Sentry.mobileReplayIntegration({
          maskAllText: true,
          maskAllImages: true,
        }),
      ],
    });
    

    Access is limited to early access orgs on Sentry. If you're interested, sign up for the waitlist

Dependencies

sentry-bot
published 5.22.0 •

Changelog

Source

5.22.0

Features

  • Updated metric normalization from @sentry/core (#11519)
  • Metric rate limiting from sentry-cocoa and sentry-android

Dependencies

sentry-bot
published 5.21.0 •

Changelog

Source

5.21.0

Features

  • Add getDefaultConfig option to getSentryExpoConfig (#3690)
  • Add beforeScreenshot option to ReactNativeOptions (#3715)

Fixes

  • Do not enable NativeFramesTracking when native is not available (#3705)
  • Do not initialize the SDK during expo-router static routes generation (#3730)
  • Cancel spans in background doesn't crash in environments without AppState (#3727)
  • Fix missing Stall measurements when using new .end() span API (#3737)
  • Change TimeToDisplay unsupported log from error to warning level. (#3699)

Dependencies

sentry-bot
published 5.20.0 •

Changelog

Source

5.20.0

Features

  • Automatic tracing of time to initial display for react-navigation (#3588)

    When enabled the instrumentation will create TTID spans and measurements. The TTID timestamp represent moment when the react-navigation screen was rendered by the native code.

    const routingInstrumentation = new Sentry.ReactNavigationInstrumentation({
      enableTimeToInitialDisplay: true,
    });
    
    Sentry.init({
      integrations: [new Sentry.ReactNativeTracing({routingInstrumentation})],
    });
    
  • Tracing of full display using manual API (#3654)

    In combination with the react-navigation automatic instrumentation you can record when the application screen is fully rendered.

    For more examples and manual time to initial display see the documentation.

    function Example() {
      const [loaded] = React.useState(false);
    
      return <View>
        <Sentry.TimeToFullDisplay record={loaded}>
          <Text>Example content</Text>
        </Sentry.TimeToFullDisplay>
      </View>;
    }
    

Fixes

  • Allow custom sentryUrl for Expo updates source maps uploads (#3664)
  • Missing Mobile Vitals (slow, frozen frames) when ActiveSpan (Transaction) is trimmed at the end (#3684)
sentry-bot
published 5.19.3 •

Changelog

Source

5.19.3

Fixes

  • Multiple Debug IDs can be loaded into the global polyfill (#3660)
    • This fixes a symbolication issue with Expo on the web with enabled bundle splitting.

Dependencies

sentry-bot
published 5.19.2 •

Changelog

Source

5.19.2

Fixes

  • expo-upload-sourcemaps now works on Windows (#3643)
  • Option enabled: false ensures no events are sent (#3606)
  • Ignore JSON response when retrieving source context from local Expo Dev Server (#3611)
  • Upload native debug files only for non-debug builds (#3649)
  • TurboModuleRegistry should not be imported in web applications (#3610)

Dependencies

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc