Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source code was not found when use latest version #812

Closed
7 tasks
androidlsl opened this issue Mar 31, 2020 · 4 comments
Closed
7 tasks

Source code was not found when use latest version #812

androidlsl opened this issue Mar 31, 2020 · 4 comments

Comments

@androidlsl
Copy link

OS:

  • Windows
  • [ ✔️] MacOS
  • Linux

Platform:

  • iOS
  • [✔️ ] Android

SDK:

  • [ ✔️] @sentry/react-native
  • react-native-sentry

SDK version: 1.3.6
react-native version: 0.61.2

Are you using Expo?

  • Yes
  • No

Are you using sentry.io or on-premise?

  • sentry.io (SaaS)
  • [✔️ ] on-premise

Configuration:

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

I have following issue:

image

Description goes here ...
i use ./gradlew assembleRelease Upload the android package
Steps to reproduce:

  • Step

Actual result:

  • Actual

Expected result:

  • Result
@HazAT
Copy link
Member

HazAT commented Mar 31, 2020

Can you describe what exactly the problem is and what's breaking for you?
I am not able to tell what the issue right now is.

@androidlsl
Copy link
Author

As on the graph I posted, I uploaded the sourceMap successfully, but the index.bundle file size was 0, resulting in the incorrect code not being located, prompting sourceCode not find.

I use the./gradlew assembleRelease upload packages

@androidlsl
Copy link
Author

I just wanted to use the hermes engine, but when I changed to the JSC engine I was able to locate the wrong location and it was all normal, so I guess there were some problems with the hermes switch

@HazAT
Copy link
Member

HazAT commented Apr 1, 2020

Ok, I just saw that you are using on-premise, you need to be on the latest master in order for this to work or use sentry.io.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants