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

Prepare for removal of `parseErrorStack` and `symbolicateStackTrace` from RN Public APIs

Open krystofwoldrich opened this issue 7 months ago • 0 comments

Description

As mentioned in https://github.com/facebook/react-native/pull/51737 (PR fixing TS types for the mentioned functions) and https://github.com/react-native-community/discussions-and-proposals/pull/894 (RFC about removing deep RN Core imports).

  • https://github.com/facebook/react-native/pull/51737
  • https://github.com/react-native-community/discussions-and-proposals/pull/894

Proposal

  • parseErrorStack should be easily replaced by Sentry Core SDK parsing functions.
  • symbolicateStackTrace makes a network request to the /symbolicate endpoint, this can be replaced by a custom __sentry/symbolicate

krystofwoldrich avatar Jun 02 '25 11:06 krystofwoldrich