You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rollbar-react-native version: 0.9.1 react-native version: 0.61.5 (not using expo)
Problem:
Running into an issue when trying to integrate the Rollbar SDK into our React Native application and found that the stack traces being captured didn't match what was coming from the application. We'd receive a system error stating Possible source map configuration error: line and column number combination not found in source map whenever the line numbers didn't match up.
After digging into the issue, found the problem to be we're leveraging the RAM Bundle format for both Android and iOS, which appears to generate a different bundle format that does not appear to be supported by Rollbar during upload. For iOS this generates an indexed RAM bundle, while on Android we're leveraging the multiple Files RAM bundle type.
An example stack trace from iOS is below. Notice how the filename at then end is linking to one of the indexed RAM bundle modules:
(Notice how it's referencing the generated module file, instead of the deobfuscated file from source).
The example steps provided in the documentation don't have an example for generating the ram-bundle sourcemaps, only bundle (see here). When attempting to switch to generating a ram-bundle with sourcemaps, I received an error response from the curl upload command.
Steps to Reproduce:
Generate the iOS ram-bundle with sourcemaps using the following command in the React Native project root:
Platforms:
Versions:
rollbar-react-native
version: 0.9.1react-native
version: 0.61.5 (not using expo)Problem:
Running into an issue when trying to integrate the Rollbar SDK into our React Native application and found that the stack traces being captured didn't match what was coming from the application. We'd receive a system error stating
Possible source map configuration error: line and column number combination not found in source map
whenever the line numbers didn't match up.After digging into the issue, found the problem to be we're leveraging the RAM Bundle format for both Android and iOS, which appears to generate a different bundle format that does not appear to be supported by Rollbar during upload. For iOS this generates an indexed RAM bundle, while on Android we're leveraging the multiple Files RAM bundle type.
An example stack trace from iOS is below. Notice how the filename at then end is linking to one of the indexed RAM bundle modules:
(Notice how it's referencing the generated module file, instead of the deobfuscated file from source).
The example steps provided in the documentation don't have an example for generating the
ram-bundle
sourcemaps, onlybundle
(see here). When attempting to switch to generating aram-bundle
with sourcemaps, I received an error response from the curl upload command.Steps to Reproduce:
ram-bundle
with sourcemaps using the following command in the React Native project root:The text was updated successfully, but these errors were encountered: