Skip to content

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

@steffos

Description

@steffos

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Done

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions