sentry-react-native
sentry-react-native copied to clipboard
Source code was not found and transaction value is always app://index.android.bundle
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 foundand tags containtransaction:app://index.android.bundle
Expected result:
- Events has symbolicated stack trace and no error
- Tags contain
transaction:app:///index.android.bundle(iOS showstransaction:app:///main.jsbundleand can find source map
I have also attached an image for your reference.

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