sentry-demos / ios

iOS Empower Plant
1 stars 4 forks source link

Binding custom transaction to scope #10

Closed serglom21 closed 1 year ago

serglom21 commented 1 year ago

Type of Change

[x] Bugfix [ ] New Feature [ ] Enhancement [ ] Refactoring

Description

Fixing distributed tracing for iOS. The problem seemed to be that we were not binding the custom transaction to the current scope which makes it accessible to every method running within the scope as detailed here

Testing

test_checkout_ios