Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sdk names and versions to the client metadata #331

Merged
merged 4 commits into from
Jun 6, 2023

Conversation

krystofwoldrich
Copy link
Contributor

Checklist

Why

The correct metadata showing sentry-expo and undelaying SDKs speedups solving issues related to the SDKs.

How

This uses the Sentry client option _metadata.
https://github.com/getsentry/sentry-javascript/blob/eb898f5ba77efa0df84c8aa630113cfeb427d01e/packages/types/src/options.ts#L197

Test Plan

Please describe how you tested this change and how a reviewer could reproduce your test, especially if this PR does not include automated tests! If possible, please also provide terminal output and/or screenshots demonstrating your test/reproduction.

I've built the SDK locally and added it to my project to verify that the correct metadata is being sent.
Currently in RN the SDK name and version are overwritten, but the package array holds the correct data, so it's not blocking this PR. Fix here getsentry/sentry-react-native#3036

@kbrandwijk kbrandwijk merged commit cd40808 into expo:main Jun 6, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants