sentry-dotnet icon indicating copy to clipboard operation
sentry-dotnet copied to clipboard

Starting Maui app only once - gives 2 users and 2 sessions in Sentry 'Releases' section.

Open steffos opened this issue 7 months ago • 3 comments

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

  1. Create a new .net Maui app project.
  2. Add Sentry.Maui nuget.
  3. Start Sentry as normal with .UseSentry and your DSN in MauiProgram.cs.
  4. Add a button and make app crash when button tapped by throwing new Exception().
  5. Start app (on iOS or Android) and make app crash by tapping button.
  6. 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.

steffos avatar Jun 26 '24 08:06 steffos