You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP

@sentry/react-native

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/react-native - npm Package Versions

2345
28
s
sentry-bot
published 7.0.0-beta.2 •
s
sentry-bot
published 6.17.0 •

Changelog

Source

6.17.0

Features

  • Add experimental flag enableUnhandledCPPExceptionsV2 on iOS (#4975)

    import * as Sentry from '@sentry/react-native';
    
    Sentry.init({
      _experiments: {
        enableUnhandledCPPExceptionsV2: true,
      },
    });
    

Dependencies

s
sentry-bot
published 6.16.1 •

Changelog

Source

6.16.1

Fixes

  • Fixes Replay Custom Masking issue on Android (#4957)

Dependencies

s
sentry-bot
published 7.0.0-beta.1 •
s
sentry-bot
published 6.16.0 •

Changelog

Source

6.16.0

Features

  • Introducing @sentry/react-native/playground (#4916)

    The new withSentryPlayground component allows developers to verify that the SDK is properly configured and reports errors as expected.

    import * as Sentry from '@sentry/react-native';
    import { withSentryPlayground } from '@sentry/react-native/playground';
    
    function App() {
      return <View>...</View>;
    }
    
    export default withSentryPlayground(
      Sentry.wrap(App)
    );
    

Fixes

  • Adds support for React Native 0.80 (#4938)
  • Report slow and frozen frames as app start span data (#4865)
  • User set by Sentry.setUser is prefilled in Feedback Widget (#4901)
    • User data are considered from all scopes in the following order current, isolation and global.
s
sentry-bot
published 6.15.1 •

Changelog

Source

6.15.1

Dependencies

s
sentry-bot
published 7.0.0-beta.0 •
s
sentry-bot
published 6.15.0 •

Changelog

Source

6.15.0

Features

  • User Feedback Widget Updates

    • FeedbackButton for easy access to the widget (#4378)
    • ScreenshotButton for capturing the application visuals (#4714)
    • Theming support to better align with the application styles (#4677)
    Sentry.init({
      integrations: [
        Sentry.feedbackIntegration({
          enableTakeScreenshot: true, // Enables `ScreenshotButton`
          themeDark: {
            // Add dark theme styles here
          },
          themeLight: {
            // Add light theme styles here
          },
        }),
      ],
    });
    
    Sentry.showFeedbackButton();
    Sentry.hideFeedbackButton();
    

    To learn more visit the documentation.

  • Re-export ErrorEvent and TransactionEvent types (#4859)

Fixes

  • crashedLastRun now returns the correct value (#4829)
  • Use engine-specific promise rejection tracking (#4826)
  • Fixes Feedback Widget accessibility issue on iOS (#4739)
  • Measuring TTID or TTFD could cause a crash when parentSpanId was removed (#4881)

Dependencies

s
sentry-bot
published 6.14.0 •

Changelog

Source

6.14.0

Fixes

  • Expo Updates Context is passed to native after native init to be available for crashes (#4808)
  • Expo Updates Context values should all be lowercase (#4809)
  • Avoid duplicate network requests (fetch, xhr) by default (#4816)
    • traceFetch is disabled by default on mobile as RN uses a polyfill which will be traced by traceXHR

Changes

  • Renames enableExperimentalViewRenderer to enableViewRendererV2 which is enabled by default for up to 5x times more performance in Session Replay on iOS (#4815)

Dependencies

s
sentry-bot
published 7.0.0-alpha.0 •
2345
28