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 version to user agent string #3713

Closed
Tracked by #61
kahest opened this issue Mar 6, 2024 · 0 comments · Fixed by #3722
Closed
Tracked by #61

Add sdk version to user agent string #3713

kahest opened this issue Mar 6, 2024 · 0 comments · Fixed by #3722
Assignees

Comments

@kahest
Copy link
Member

kahest commented Mar 6, 2024

Currently, the SDK only sets the SDK name:

[self setValue:SentryMeta.sdkName forHTTPHeaderField:@"User-Agent"];

[self setValue:SentryMeta.sdkName forHTTPHeaderField:@"User-Agent"];

To align with getsentry/team-sdks#61, we want to also send the SDK version using the format
<sdk-name>/<sdk-version>.

@kahest kahest transferred this issue from getsentry/team-sdks Mar 6, 2024
@kahest kahest changed the title sentry-cocoa: add sdk version to user agent string Add sdk version to user agent string Mar 6, 2024
@kahest kahest self-assigned this Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant