sentry-dotnet
sentry-dotnet copied to clipboard
Starting Maui app only once - gives 2 users and 2 sessions in Sentry 'Releases' section.
Package
Sentry.Maui
.NET Flavor
.NET
.NET Version
7.0.0
OS
Any (not platform specific)
SDK Version
4.7.0
Self-Hosted Sentry Version
No response
Steps to Reproduce
- Create a new .net Maui app project.
- Add Sentry.Maui nuget.
- Start Sentry as normal with .UseSentry and your DSN in MauiProgram.cs.
- Add a button and make app crash when button tapped by throwing new Exception().
- Start app (on iOS or Android) and make app crash by tapping button.
- Go to Sentry and check 'Releases' section.
Expected Result
You should only see 1 user and 1 session since app has only been run once.
Actual Result
There is 2 users and 2 sessions reported. When clicking the 'User Count' row, you will find that 1 Healthy and 1 Crashed has been reported. Click 'Session Count' row and you will find that 1 Healthy and 1 Errored sessions has been reported.