-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
feat: Surface options to opt out of the Android NDK integration
#1452
Conversation
Instructions and example for changelogPlease add an entry to Example: ## Unreleased
- Surface options to opt out of the Android `NDK integration` ([#1452](https://github.com/getsentry/sentry-unity/pull/1452)) If none of the above apply, you can opt out of this check by adding |
/// <summary> | ||
/// Whether the SDK should add the NDK integration for Android | ||
/// </summary> | ||
public bool NdkIntegrationEnabled { get; set; } = true; | ||
|
||
/// <summary> | ||
/// Whether the SDK should sync the scope to the NDK layer for Android | ||
/// </summary> | ||
public bool NdkScopeSyncEnabled { get; set; } = true; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can I use either or, or do they depend on each other?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Relates to: getsentry/sentry-java#2955
Gives more granular control over the Android native support by allowing to disable the NDK integration.
Added an opt-out for scope sync while at it.