The JavaScript stack trace is converted into a mock native iOS or Android exception before submission.
The line numbers in the stack trace (if available) will be relative to the javascript bundle built by your packager,
after whatever transpilation or minimization steps happen. You will need to maintain sourcemaps to decode them if desired.
Example
constcrashlytics = getCrashlytics(); recordError( crashlytics, newError('An error was caught') );
Record a JavaScript Error.
The JavaScript stack trace is converted into a mock native iOS or Android exception before submission. The line numbers in the stack trace (if available) will be relative to the javascript bundle built by your packager, after whatever transpilation or minimization steps happen. You will need to maintain sourcemaps to decode them if desired.
Example