Skip to content

Update StallTrackingInstrumentation to use startSpan event #3703

@krystofwoldrich

Description

@krystofwoldrich

Description

This change is required for JS v8, asspanRecorder was definitively removed.

### Tasks
- [x] 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)
- [x] Replace `onTransactionStart` and `onTransactionFinish` by `client.on(spanStart)`

Example tests: timetodisplay.test.tsx, reactnavigation.ttid.test.tsx

Metadata

Metadata

Labels

No labels
No labels

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions