sentry-react-native
sentry-react-native copied to clipboard
Update StallTrackingInstrumentation to use `startSpan` event
Description
This change is required for JS v8, asspanRecorder was definitively removed.
- https://github.com/getsentry/sentry-javascript/pull/10977/
### Tasks
- [ ] Add integration test not relying on internal structure StallTrackingInstrumentation [impl](https://github.com/getsentry/sentry-react-native/blob/071289ab6301baec9dc8f19d86e2779cc00e1902/src/js/tracing/nativeframes.ts#L24)
- [ ] Replace `onTransactionStart` and `onTransactionFinish` by `client.on(spanStart)`
Example tests: timetodisplay.test.tsx, reactnavigation.ttid.test.tsx