-
-
Notifications
You must be signed in to change notification settings - Fork 226
Description
Package
Sentry
.NET Flavor
.NET
.NET Version
9.0
OS
Android
OS Version
15
Development Environment
Visual Studio v18.x
SDK Version
6.0.0
Self-Hosted Sentry Version
No response
Workload Versions
Workload version: 10.0.101
Installed Workload Id Manifest Version Installation Source
android 36.1.2/10.0.100 SDK 10.0.100, VS 18.1.11304.174, VS 17.14.36804.6
ios 26.1.10502/10.0.100 SDK 10.0.100, VS 18.1.11304.174, VS 17.14.36804.6
maccatalyst 26.1.10502/10.0.100 SDK 10.0.100, VS 18.1.11304.174, VS 17.14.36804.6
maui-android 10.0.1/10.0.100 SDK 10.0.100
maui-windows 10.0.1/10.0.100 SDK 10.0.100, VS 18.1.11304.174, VS 17.14.36804.6
UseSentry or SentrySdk.Init call
var builder = MauiApp.CreateBuilder();
builder
.SetupSentry()
.UseMauiApp<App>()...
builder.UseSentry((option) =>
{
option.Native.ExperimentalOptions.SessionReplay.OnErrorSampleRate = 0.1;
option.Native.ExperimentalOptions.SessionReplay.SessionSampleRate = 0.1;
option.Native.ExperimentalOptions.SessionReplay.MaskAllText = false;
option.Native.ExperimentalOptions.SessionReplay.MaskAllImages = false;
option.ReportAssembliesMode = ReportAssembliesMode.None;
option.Dsn = EnvironmentConfig.SentryDsn;
...Steps to Reproduce
initialize sentry, set "Prod" in environments.
capture any error, you will see it has Prod as environment in sentry.io
call
SentrySdk.CaptureFeedback(new SentryFeedback("test", "[email protected]", "test", associatedEventId: SentrySdk.LastEventId));
Expected Result
Sentry.io with Prod on environment
Actual Result
