Skip to content

captureEnvelope and metadata #2296

Closed Answered by philipphofmann
farfromrefug asked this question in Q&A
Discussion options

You must be logged in to vote

My question is when an envelope is captured is it augmented with all the native sentry-cocoa data?

No, it is not. As you already pointed out, the Cocoa SDK just sends the envelope. For adding the device context, the RN SDK uses a workaround, see https://github.com/getsentry/sentry-react-native/blob/befcc51698900298139374f7b71492b44193cfc0/ios/RNSentry.m#L164-L196

We have an issue to fix that, see getsentry/team-mobile#11.

Maybe that also works for you, @farfromrefug.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@farfromrefug
Comment options

@philipphofmann
Comment options

@farfromrefug
Comment options

@farfromrefug
Comment options

@philipphofmann
Comment options

Answer selected by farfromrefug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants