Update Sentry to fix iOS build

This commit is contained in:
Dan Balasescu 2024-04-12 01:02:40 +09:00
parent 3e8ddbd2a9
commit 8b2017be45
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ public void AttachUser(IBindable<APIUser> user)
localUser = user.GetBoundCopy(); localUser = user.GetBoundCopy();
localUser.BindValueChanged(u => localUser.BindValueChanged(u =>
{ {
SentrySdk.ConfigureScope(scope => scope.User = new User SentrySdk.ConfigureScope(scope => scope.User = new SentryUser
{ {
Username = u.NewValue.Username, Username = u.NewValue.Username,
Id = u.NewValue.Id.ToString(), Id = u.NewValue.Id.ToString(),

View File

@ -37,7 +37,7 @@
<PackageReference Include="Realm" Version="11.5.0" /> <PackageReference Include="Realm" Version="11.5.0" />
<PackageReference Include="ppy.osu.Framework" Version="2024.329.0" /> <PackageReference Include="ppy.osu.Framework" Version="2024.329.0" />
<PackageReference Include="ppy.osu.Game.Resources" Version="2024.410.0" /> <PackageReference Include="ppy.osu.Game.Resources" Version="2024.410.0" />
<PackageReference Include="Sentry" Version="3.41.3" /> <PackageReference Include="Sentry" Version="4.3.0" />
<!-- Held back due to 0.34.0 failing AOT compilation on ZstdSharp.dll dependency. --> <!-- Held back due to 0.34.0 failing AOT compilation on ZstdSharp.dll dependency. -->
<PackageReference Include="SharpCompress" Version="0.36.0" /> <PackageReference Include="SharpCompress" Version="0.36.0" />
<PackageReference Include="NUnit" Version="3.14.0" /> <PackageReference Include="NUnit" Version="3.14.0" />