sentry-react-native
sentry-react-native copied to clipboard
Refactor startTransaction patch
Description
After fixing https://github.com/getsentry/sentry-react-native/pull/2691 the patch mixes two things, patching for measurements and patching for native SDKs compatibility.
Maybe the measurements patch is not needed since custom measurements future.
Todo:
- [ ] Let's separate these two concerns.
- [ ] Remove duplicate typings (use JS SDK)
https://github.com/getsentry/sentry-react-native/blob/8a7a2bd6dbf7b0a5fca3660de19a077ade5295c1/src/js/measurements.ts