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

Add rewrite patterns for hermes to documentation

Open Stas-Buzunko opened this issue 1 year ago • 0 comments

Rollbar v0.9.3

There are at least two open issues related to sourcemaps problems associated with Hermes. So, it might be worth adding to the documentation (assuming these patterns might have been added to v1).

Issues: https://github.com/rollbar/rollbar-react-native/issues/124 https://github.com/rollbar/rollbar-react-native/issues/151#issuecomment-954819058

If anyone faces these problems, here are the patterns that worked for me:

rewriteFilenamePatterns: [
    Platform.OS === 'ios' ? '([^/]*)$' : '^address at (.*)$'
]

Stas-Buzunko avatar Jan 25 '24 10:01 Stas-Buzunko