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

fix: sdk name for native on android #3682

Merged
merged 3 commits into from
Oct 16, 2024
Merged

fix: sdk name for native on android #3682

merged 3 commits into from
Oct 16, 2024

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
@@ -167,7 +167,7 @@ private static void InitSentryAndroidSdk(SentryOptions options)
o.EnableExternalConfiguration = false;
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
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.

3 participants