sentry-react-native icon indicating copy to clipboard operation
sentry-react-native copied to clipboard

Source code was not found and transaction value is always app://index.android.bundle

Open jycl opened this issue 7 years ago • 1 comments

OS:

  • [ ] Windows
  • [X] MacOS
  • [ ] Linux

Platform:

  • [ ] iOS
  • [X] Android

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

v11.1.0
6.4.1
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]

Config:

Sentry.config(SENTRY_DSN[Platform.OS], { disableNativeIntegration: true, }).install();


I have following issue:

Events reported by Android devices (with Native Integration disabled) cannot find source code apparently because the transaction context value is app://index.android.bundle instead of app:///index.android.bundle. No issue on iOS.

Recently disabled native integration, there were no issues on both Android and iOS.

Steps to reproduce:

  • Configure and build app as described in documentation, source map and bundle are uploaded to Sentry (can see them in Project --> Releases --> Artifacts)

Actual result:

  • Events display the error: Source code was not found and tags contain transaction:app://index.android.bundle

Expected result:

  • Events has symbolicated stack trace and no error
  • Tags contain transaction:app:///index.android.bundle (iOS shows transaction:app:///main.jsbundle and can find source map

I have also attached an image for your reference. transaction_bundle_path_2

jycl avatar Jan 18 '19 07:01 jycl

Closing this for now, merged with your PR, thanks again.

HazAT avatar Jan 29 '19 13:01 HazAT