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

React native - report crash for android always point the wrong file/line #552

Closed
1 of 2 tasks
awdjs-s opened this issue Feb 25, 2019 · 2 comments
Closed
1 of 2 tasks

Comments

@awdjs-s
Copy link

awdjs-s commented Feb 25, 2019

Platform:

  • iOS
  • Android

Output of node -v && npm -v && npm ls --prod --depth=0

v10.15.0
6.4.1
[email protected] /Users/zbentaleb/Desktop/Lab/AOC-SEPHORA
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── UNMET PEER DEPENDENCY [email protected]
├── UNMET PEER DEPENDENCY [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] (git+https://github.com/PierreYvesParis/react-native-camera.git#77f2205fc76378227daf3fba633554de72f4bf92)
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] (git+https://github.com/antoinegrelard/react-native-material-textfield.git#d6d52b493073efeb271461eac18ad96e93fc70e0)
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]

I have following issue:

i managed to report crash on ios correctly, but on android, it shows the error with the appropriate title but, always the wrong file/line

Actual result:
point on the wrong file/line of code


Example 1
screenshot 2019-02-25 at 23 14 06


Example 2
screenshot 2019-02-25 at 23 19 38

Expected result:
point the correct file/line of code

#PS: probably sentry can't match the stack-trace and source-map correctly on android

@awdjs-s awdjs-s changed the title React native - report crash android always point the same file React native - report crash for android always point the same (wrong) file/line Feb 25, 2019
@awdjs-s awdjs-s changed the title React native - report crash for android always point the same (wrong) file/line React native - report crash for android always point the wrong file/line Feb 25, 2019
@hery
Copy link

hery commented Jun 28, 2019

@awdjs-s Same issue here, did you figure it out?
I have the correct version number and I can see my source maps in the artifacts but it points to an unrelated file.

@HazAT
Copy link
Member

HazAT commented Sep 4, 2019

I am closing all old issues, please if this is still a problem feel free to revive it.
Also, consider moving to our new SDK @sentry/react-native if it still happens there please open a new issue.

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

No branches or pull requests

3 participants