- I’m building a React Native app (RN 0.57)
- Currently working on Android side (haven’t looked at iOS yet)
- My org is hosting Sentry 8.22.0 (they’re not willing to upgrade).
- “react-native-sentry”: “^0.39.1” (latest last time I looked)
- Sentry cli - 1.36.4
Problem: Stack traces are not being resolved(?) in the source maps.
I’m building the source maps from the command line. The cli seems to indicate that the sourcemaps are setup properly.
> Analyzing 2 sources
> Rewriting sources
> Adding source map references
> Validating sources
> Uploading source maps for release *********
Source Map Upload Report
Minified Scripts
~/android.main.bundle (sourcemap at android.main.bundle.map)
Source Maps
~/android.main.bundle.map
The problem is that when an event comes in I get this error on the web ui:
There was 1 error encountered while processing this event * Source code was not found for app:///android.main.bundle<small> Collapse</small> { "url": "app:///android.main.bundle" }
However, the files do exist in the release artifacts:
After poking at this for over a week I’m stuck. In an effort to remove variables I’m trying to figure out which versions of the SDK I should be using with 8.22. I can’t seem to figure out which SDKs map to which server version by looking through github.
So, to sum up. Which version of the SDK should I be using? Any idea why I’m seeing the above errors?
Thanks Much!