Skip to content

JS Error is reported as Java Exception #3078

@fantasyado

Description

@fantasyado

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android

SDK:

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

SDK version: 0.0.0

react-native version: 0.70.5

Are you using Expo?

  • Yes -- bare flow
  • 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://[email protected]/...'
  // other options
  enabled: !__DEV__
});

I have following issue:

[Description]

Steps to reproduce:

  • run xcode build script
     xcodebuild -workspace $schemeName.xcworkspace   -scheme $schemeName -configuration Release -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 14 Pro Max,OS=16.1'  
    
  • install the ipa to simulator and trigger a error

Actual result:

[Actual result]
The source map seems not used to display the error source code location.
image
and when I check the sourceMaps tab in sentry.io it shows no bundle connected to this release

image

Expected result:

[Expected result]
The source map should be used to parse the error stacktrace.

Please help on this, Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions