getsentry / getsentry/sentry-java

Android: synchronize App context to native

Abierto
#2,056 7 comentarios 2 reacciones 0 asignados Ver en GitHub
Android Errors Improvement NDK
Lenguaje dominante
Kotlin
Estrellas
1.4k
Forks
478
Merge medio
2 d 23 h
PR fusionados (30 d)
67

Descripción

### Problem Statement

While working on [a similar feature for sentry-unity SDK](https://github.com/getsentry/sentry-unity/issues/650), I've noticed some context is synced to native crashes (namely Device) while the App context is missing. It would be useful to get the App information discovered by the java layer passed to native so that any crashes have the info.

## Current state:
* [java error](https://sentry.io/organizations/sentry-sdks/issues/3245458320/events/5b3d779ecc49457da5331f9719194494/?project=5439417#context-app)
image

* [native error](https://sentry.io/organizations/sentry-sdks/issues/3284535874/events/ff3f52e48eb14617de7a306cd6a829e2/?project=5439417) - no App context at the moment - checked on 6.0.0-alpha.4

### Solution Brainstorm

_No response_

┆Issue is synchronized with this [Jira Improvement](https://getsentry.atlassian.net/browse/FEEDBACK-2377) by [Unito](https://www.unito.io)

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.