Expose Native.EnableScopePersistence (Android) and Native.EnableCrashHandler (iOS)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
Read src/Sentry/Platforms/Android/SentrySdk.cs and src/Sentry/Platforms/Cocoa/SentrySdk.cs, then locate the matching BindableNativeSentryOptions and Cocoa BindableSentryOptions entries. Forward both native settings during SDK initialization and document them on the native options pages; done when each option reaches its platform SDK and the documented behavior includes Cocoa watchdog tracking.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Users who want to limit what the native SDKs collect or write to disk on mobile have no way to reach two relevant native options from .NET. Both bindings already exist.
Android: EnableScopePersistence
sentry-java's PersistingScopeObserver writes the current scope (user, tags, extras, contexts, request, breadcrumbs, …) to <cache>/android/.scope-cache/ on every change. It's on by default (SentryOptions.enableScopePersistence) and only used to backfill ANR (ApplicationExitInfo) and tombstone events. Expose it as options.Native.EnableScopePersistence and forward it alongside the other options in InitSentryAndroidSdk.
iOS / Mac Catalyst: EnableCrashHandler
The Cocoa SDK's enableCrashHandler (default true, bound at ApiDefinition.cs as EnableCrashHandler) isn't forwarded. That leaves no supported way to turn off native crash reporting on iOS while keeping managed error capture. (Android can already do this with Native.EnableNdk, Native.EnableUncaughtExceptionHandler and Native.AnrEnabled.) Expose it as options.Native.EnableCrashHandler and forward it in InitSentryCocoaSdk. Note that disabling it also disables Cocoa's watchdog termination tracking.
Both need matching BindableNativeSentryOptions / Cocoa BindableSentryOptions entries, and docs on the native options pages.
Raised in #5733.
- Lenguaje dominante
- C#
- Estrellas
- 775
- Forks
- 262
- Merge medio
- 1 d 16 h
- PR fusionados (30 d)
- 118
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de getsentry/sentry-dotnet
-
chore: remove stale IL3050/IL3053 workaround from the iOS samplePosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. AbiertoState: Needs Discussion
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
getsentry/sentry-dotnet#6071 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Heap dumps: every SDK shutdown logs "Error waiting for GarbageCollectionMonitor task to complete"Posiblemente ocupada @pcbeingused33 la tomó hoy. AbiertoState: Needs Discussion
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
getsentry/sentry-dotnet#6039 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
.NET Platform: Android Task
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
getsentry/sentry-dotnet#6020 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Move the Blazor WebAssembly sample off the deprecated DevServerPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto.NET Framework: Blazor
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
getsentry/sentry-dotnet#5906 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Docs MSBuild Needs Docs Update
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
getsentry/sentry-dotnet#5691 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de getsentry/sentry-dotnet
Issues similares
-
In-car displays show 0 km/h and P while the AV drivesPosiblemente ocupada @bazilinskyy la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
bazilinskyy/coupled-sim#366 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
BaryoDev/umbraco-pwa#196 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
microsoft/fluentui-blazor#5688 ·
Los mantenedores suelen responder en 1 día
-
bug flaky lsp-transport small
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día