Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Features

- Add pluging setting allowing to attach all threads info to captured events (Android) ([#1137](https://github.com/getsentry/sentry-unreal/pull/1137))

### Dependencies

- Bump Native SDK from v0.12.0 to v0.12.1 ([#1136](https://github.com/getsentry/sentry-unreal/pull/1136))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ void FAndroidSentrySubsystem::InitWithSettings(const USentrySettings* settings,
SettingsJson->SetBoolField(TEXT("autoSessionTracking"), settings->EnableAutoSessionTracking);
SettingsJson->SetNumberField(TEXT("sessionTimeout"), settings->SessionTimeout);
SettingsJson->SetBoolField(TEXT("enableStackTrace"), settings->AttachStacktrace);
SettingsJson->SetBoolField(TEXT("enableThreads"), settings->AttachThreads);
SettingsJson->SetBoolField(TEXT("debug"), settings->Debug);
SettingsJson->SetNumberField(TEXT("sampleRate"), settings->SampleRate);
SettingsJson->SetNumberField(TEXT("maxBreadcrumbs"), settings->MaxBreadcrumbs);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public void configure(SentryAndroidOptions options) {
options.setEnableAutoSessionTracking(settingJson.getBoolean("autoSessionTracking"));
options.setSessionTrackingIntervalMillis(settingJson.getLong("sessionTimeout"));
options.setAttachStacktrace(settingJson.getBoolean("enableStackTrace"));
options.setAttachThreads(settingJson.getBoolean("enableThreads"));
options.setDebug(settingJson.getBoolean("debug"));
options.setSampleRate(settingJson.getDouble("sampleRate"));
options.setMaxBreadcrumbs(settingJson.getInt("maxBreadcrumbs"));
Expand Down
1 change: 1 addition & 0 deletions plugin-dev/Source/Sentry/Private/SentrySettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ USentrySettings::USentrySettings(const FObjectInitializer& ObjectInitializer)
, SampleRate(1.0f)
, EnableAutoLogAttachment(false)
, AttachStacktrace(true)
, AttachThreads(true)
, SendDefaultPii(false)
, AttachScreenshot(false)
, AttachGpuDump(true)
Expand Down
4 changes: 4 additions & 0 deletions plugin-dev/Source/Sentry/Public/SentrySettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,10 @@ class SENTRY_API USentrySettings : public UObject
Meta = (DisplayName = "Attach stack trace to captured events", ToolTip = "Flag indicating whether to attach stack trace automatically to captured events."))
bool AttachStacktrace;

UPROPERTY(Config, EditAnywhere, Category = "General|Attachments",
Meta = (DisplayName = "Attach information about all threads to captured events (for Android only)", ToolTip = "Flag indicating whether to attach information about all threads automatically to captured events, not just the crashing thread."))
bool AttachThreads;

UPROPERTY(Config, EditAnywhere, Category = "General|Attachments",
Meta = (DisplayName = "Attach personally identifiable information", ToolTip = "Flag indicating whether to attach personally identifiable information (PII) to captured events."))
bool SendDefaultPii;
Expand Down