Skip to content

Source code was not found 1.3.0 (iOS & Android) #761

@valeriashpiner

Description

@valeriashpiner

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android

SDK:

  • @sentry/react-native
  • react-native-sentry

react-native version: 0.61.2
SDK version: 1.3.0

Init Code:

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

I have the following issue:

After update today from 1.2.2 to 1.3.0 with Hermes support, I ran iOS build in release mode and added following line to create crash:

throw new Error ('New Sentry!')

I ran assembleRelease for android and then regular build with the error.

Steps to reproduce:

  1. yarn add @sentry/react-native@latest
  2. pod install (it updated sentry/react-native to 1.3.0)
  3. watchman watch-del-all && rm -f yarn.lock && rm -rf node_modules && yarn && yarn start --reset-cache

Actual result:
I don't see sourcemaps for iOS anymore.
Screen Shot 2020-02-12 at 9 49 29 AM
Screen Shot 2020-02-12 at 9 49 21 AM

I don't see sourcemaps for android, but 1.3.0 sees Hermes engine.
Screen Shot 2020-02-12 at 9 58 34 AM

Expected result:
I would like to be able to see the source of error for ios and android.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions