diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f81ea586..4f055dc8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Fixes + +- Fixed screenshots not being attached to iOS native crashes ([#1517](https://github.com/getsentry/sentry-unity/pull/1517)) + ### Dependencies - Bump CLI from v2.21.2 to v2.22.3 ([#1501](https://github.com/getsentry/sentry-unity/pull/1501), [#1502](https://github.com/getsentry/sentry-unity/pull/1502)) diff --git a/src/Sentry.Unity.Editor.iOS/NativeOptions.cs b/src/Sentry.Unity.Editor.iOS/NativeOptions.cs index 85c345d9f..139cdc232 100644 --- a/src/Sentry.Unity.Editor.iOS/NativeOptions.cs +++ b/src/Sentry.Unity.Editor.iOS/NativeOptions.cs @@ -28,7 +28,7 @@ internal static string Generate(SentryUnityOptions options) @""enableAutoSessionTracking"": @NO, @""enableAppHangTracking"": @NO, @""sendDefaultPii"" : @{ToObjCString(options.SendDefaultPii)}, - @""attachScreenshot"" : @""{options.AttachScreenshot}"", + @""attachScreenshot"" : @{ToObjCString(options.AttachScreenshot)}, @""release"" : @""{options.Release}"", @""environment"" : @""{options.Environment}"" }};