Skip to content

Conversation

@bruno-garcia
Copy link
Member

@bruno-garcia bruno-garcia commented Oct 14, 2024

We append .platform when 'wrapping' another SDK.

sentry.native on Android, because of its custom unwinder and other significant changes (it's also built through sentry-java repo). Has a different SDK name:

https://github.com/getsentry/sentry-native/blob/b555a978986f882abb3161bd1c848339f9a2cc1a/include/sentry.h#L28

Resolves:

@bruno-garcia bruno-garcia enabled auto-merge (squash) October 14, 2024 23:39
o.EnableDeduplication = false;
o.AttachServerName = false;
o.NativeSdkName = "sentry.native.dotnet";
o.NativeSdkName = "sentry.native.android.dotnet";
Copy link
Collaborator

@jamescrosswell jamescrosswell Oct 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I take it this doesn't address whatever the more fundamental problem in #3654?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it does.

Copy link
Collaborator

@jamescrosswell jamescrosswell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bruno-garcia bruno-garcia merged commit a18bef3 into main Oct 16, 2024
10 of 11 checks passed
@bruno-garcia bruno-garcia deleted the bruno-garcia-patch-1 branch October 16, 2024 03:32
@github-actions
Copy link
Contributor

Fails
🚫 Please consider adding a changelog entry for the next release.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

- sdk name for native on android ([#3682](https://github.com/getsentry/sentry-dotnet/pull/3682))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description.

Generated by 🚫 dangerJS against ad93c28

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.

4 participants