Skip to content

RCTFatal + 568 on 5.19.0 #3625

@wkirby

Description

@wkirby

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android

SDK:

  • @sentry/react-native (>= 1.0.0)
  • react-native-sentry (<= 0.43.2)

SDK version: 5.19.0

react-native version: 0.73.3

Are you using Expo?

  • Yes
  • No

Are you using sentry.io or on-premise?

  • sentry.io (SaaS)
  • on-premise

If you are using sentry.io, please post a link to your issue so we can take a look:

[Link to issue]

Configuration:

(@sentry/react-native)

Sentry.init({
  dsn: 'https://...@sentry.io/...'
  tracesSampleRate: 0.01,
});

I have the following issue:

Upgrading to 5.19.0 from 5.18.0 results in RCTFatal + 568 when run in release mode. Running in development mode does not produce an error.

Steps to reproduce:

  • Update @sentry/react-native to 5.19.0
  • npm install and cd ios && pod install
  • npx react-native run-ios --simulator "iPhone 15" --mode Release

Actual result:

The app crashes immediately.

Expected result:

The app should run.


For reference, here's the entire diff between a working commit on my project and a commit that will not run in release mode

-   "@sentry/react-native": "^5.18.0",
+   "@sentry/react-native": "^5.19.0",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Done

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions