Skip to content

Sentry with appcenter/CodePush: source code not found #711

@blueberry6401

Description

@blueberry6401

OS:

  • MacOS

Platform:

  • iOS

SDK:

  • @sentry/react-native

react-native version: 0.61 => 0.61.3


I have following issue:
After released with CodePush, an exception thrown, stack trace is unavailable and I got "Source code was not found".
While in the Release page, tab Artifacts, I can see my source map there.
Stacktrace works with sentry script hooks in xcode's build phrases.

Stack trace
Screen Shot 2019-11-05 at 01 57 16

Screen Shot 2019-11-05 at 01 03 37
Release page (release name is matched with the issue)
Screen Shot 2019-11-05 at 01 13 38

My commands:
appcenter codepush release-react -a MyOrg/MyApp -d Staging -t 1.1.1 -m -p ios/MyApp/Info.plist -o ios/build
sentry-cli react-native appcenter MyOrg/MyApp ios ./ios/build/CodePush --deployment Staging

Link to the issue: https://sentry.io/share/issue/834af343805844809e251ce3c16082b6/

Is this a bug or I'm doing things wrong?

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